Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle citation test edge case #3484

Merged
merged 6 commits into from
Jan 28, 2025
Merged

handle citation test edge case #3484

merged 6 commits into from
Jan 28, 2025

Conversation

jadeddelta
Copy link
Collaborator

@jadeddelta jadeddelta commented Jan 8, 2025

this PR ensures that getCitations() exists in the jsPsych build before running the citation test suite in the edge case where someone has a previous build of the jsPsych package and attempts to run tests on the main package (this will cause the entire citation test suite to fail), along with cleaning up the remaining console.log calls in our test files

Copy link

changeset-bot bot commented Jan 8, 2025

🦋 Changeset detected

Latest commit: e710cb0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
jspsych Patch
@jspsych/config Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jodeleeuw
Copy link
Member

b12ce30 changes the implementation a bit, and fixes the tests so that we test the build process in config and mock the citation string in jspsych.

@jodeleeuw jodeleeuw merged commit 6e74767 into main Jan 28, 2025
2 checks passed
@jodeleeuw jodeleeuw deleted the fix-build-citations-test branch January 28, 2025 14:40
@github-actions github-actions bot mentioned this pull request Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants