Skip to content

Commit

Permalink
change citations test to include default jspsych citation
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriechang committed Dec 18, 2024
1 parent 466b44c commit 5b64a47
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions packages/jspsych/tests/citations/citations.test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
//import { JsPsych } from "../../src/JsPsych";
import { TestExtension } from "../extensions/TestExtension";
import TestPlugin from "../TestPlugin";

const jsPsychApaCitation =
"de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351";
"de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 ";
const jsPsychBibtexCitation =
'@misc{LeeuwjsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\\" o}rn}, doi = {10.5281/zenodo.7702307}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, } @article{Leeuw2023jsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\\" o}rn}, journal = {Journal of Open Source Software}, doi = {10.21105/joss.05351}, issn = {2475-9066}, number = {85}, year = {2023}, month = {may 11}, pages = {5351}, publisher = {Open Journals}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, url = {https://joss.theoj.org/papers/10.21105/joss.05351}, volume = {8}, } ';
'@article{Leeuw2023jsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\\" o}rn}, journal = {Journal of Open Source Software}, doi = {10.21105/joss.05351}, issn = {2475-9066}, number = {85}, year = {2023}, month = {may 11}, pages = {5351}, publisher = {Open Journals}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, url = {https://joss.theoj.org/papers/10.21105/joss.05351}, volume = {8}, } ';
const testPluginApaCitation = "Test plugin APA citation";
const testPluginBibtexCitation = "Test plugin BibTeX citation";
const testExtensionApaCitation = "Test extension APA citation";
Expand Down Expand Up @@ -37,7 +36,10 @@ try {
});

describe("citing not using an array", () => {
test("citing nothing", () => {
test("citing without input", () => {
expect(jspsych.getCitations()).toBe(jsPsychApaCitation);

Check failure on line 40 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing not using an array › citing without input

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:40:38)

Check failure on line 40 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing not using an array › citing without input

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:40:38)

Check failure on line 40 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing not using an array › citing without input

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:40:38)
});
test("citing null", () => {
expect(() => jspsych.getCitations(null)).toThrow("Expected array of plugins/extensions");
});
test("citing without input and with invalid format", () => {
Expand All @@ -49,20 +51,18 @@ try {

describe("citing using an array in different formats", () => {
test("citing empty array with APA format", () => {
jspsych.getCitations([], "apa");
expect(consoleWarnSpy.mock.calls[0][0]).toBe("No plugins/extensions provided");
expect(jspsych.getCitations([], "apa")).toBe(jsPsychApaCitation);

Check failure on line 54 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing using an array in different formats › citing empty array with APA format

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:54:47)

Check failure on line 54 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing using an array in different formats › citing empty array with APA format

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:54:47)

Check failure on line 54 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing using an array in different formats › citing empty array with APA format

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:54:47)
});
test("citing empty array with BibTeX format", () => {
jspsych.getCitations([], "bibtex");
expect(consoleWarnSpy.mock.calls[0][0]).toBe("No plugins/extensions provided");
expect(jspsych.getCitations([], "bibtex")).toBe(jsPsychBibtexCitation);

Check failure on line 57 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing using an array in different formats › citing empty array with BibTeX format

expect(received).toBe(expected) // Object.is equality Expected: "@Article{Leeuw2023jsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\\\" o}rn}, journal = {Journal of Open Source Software}, doi = {10.21105/joss.05351}, issn = {2475-9066}, number = {85}, year = {2023}, month = {may 11}, pages = {5351}, publisher = {Open Journals}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, url = {https://joss.theoj.org/papers/10.21105/joss.05351}, volume = {8}, } " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:57:50)

Check failure on line 57 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing using an array in different formats › citing empty array with BibTeX format

expect(received).toBe(expected) // Object.is equality Expected: "@Article{Leeuw2023jsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\\\" o}rn}, journal = {Journal of Open Source Software}, doi = {10.21105/joss.05351}, issn = {2475-9066}, number = {85}, year = {2023}, month = {may 11}, pages = {5351}, publisher = {Open Journals}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, url = {https://joss.theoj.org/papers/10.21105/joss.05351}, volume = {8}, } " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:57:50)

Check failure on line 57 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing using an array in different formats › citing empty array with BibTeX format

expect(received).toBe(expected) // Object.is equality Expected: "@Article{Leeuw2023jsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\\\" o}rn}, journal = {Journal of Open Source Software}, doi = {10.21105/joss.05351}, issn = {2475-9066}, number = {85}, year = {2023}, month = {may 11}, pages = {5351}, publisher = {Open Journals}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, url = {https://joss.theoj.org/papers/10.21105/joss.05351}, volume = {8}, } " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:57:50)
});
test("citing empty array without format", () => {
jspsych.getCitations([]);
expect(consoleWarnSpy.mock.calls[0][0]).toBe("No plugins/extensions provided");
expect(jspsych.getCitations([])).toBe(jsPsychApaCitation);

Check failure on line 60 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing using an array in different formats › citing empty array without format

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:60:40)

Check failure on line 60 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing using an array in different formats › citing empty array without format

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:60:40)

Check failure on line 60 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing using an array in different formats › citing empty array without format

expect(received).toBe(expected) // Object.is equality Expected: "de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 " Received: "" at Object.<anonymous> (tests/citations/citations.test.ts:60:40)
});
test("citing one plugin with valid format in all caps", () => {
jspsych.getCitations([TestPlugin], "APA");
expect(consoleLogSpy.mock.calls[0][0]).toBe(testPluginApaCitation);
expect(jspsych.getCitations([TestPlugin], "APA")).toBe(

Check failure on line 63 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing using an array in different formats › citing one plugin with valid format in all caps

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:63:57)

Check failure on line 63 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing using an array in different formats › citing one plugin with valid format in all caps

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:63:57)

Check failure on line 63 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing using an array in different formats › citing one plugin with valid format in all caps

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:63:57)
jsPsychApaCitation + "\n" + testPluginApaCitation
);
});
test("citing with unsupported format", () => {
expect(() => jspsych.getCitations([TestPlugin], "DummyTex")).toThrow(
Expand All @@ -73,24 +73,24 @@ try {

describe("citing mix of valid plugins/extensions", () => {
test("citing a plugin", () => {
jspsych.getCitations([TestPlugin]);
expect(consoleLogSpy.mock.calls[0][0]).toBe(testPluginApaCitation);
expect(jspsych.getCitations([TestPlugin])).toBe(

Check failure on line 76 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing mix of valid plugins/extensions › citing a plugin

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:76:50)

Check failure on line 76 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing mix of valid plugins/extensions › citing a plugin

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:76:50)

Check failure on line 76 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing mix of valid plugins/extensions › citing a plugin

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:76:50)
jsPsychApaCitation + "\n" + testPluginApaCitation
);
});
test("citing a plugin in BibTeX", () => {
jspsych.getCitations([TestPlugin], "bibtex");
expect(consoleLogSpy.mock.calls[0][0]).toBe(testPluginBibtexCitation);
expect(jspsych.getCitations([TestPlugin], "bibtex")).toBe(

Check failure on line 81 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing mix of valid plugins/extensions › citing a plugin in BibTeX

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - @Article{Leeuw2023jsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\" o}rn}, journal = {Journal of Open Source Software}, doi = {10.21105/joss.05351}, issn = {2475-9066}, number = {85}, year = {2023}, month = {may 11}, pages = {5351}, publisher = {Open Journals}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, url = {https://joss.theoj.org/papers/10.21105/joss.05351}, volume = {8}, } + Test plugin BibTeX citation at Object.<anonymous> (tests/citations/citations.test.ts:81:60)

Check failure on line 81 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing mix of valid plugins/extensions › citing a plugin in BibTeX

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - @Article{Leeuw2023jsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\" o}rn}, journal = {Journal of Open Source Software}, doi = {10.21105/joss.05351}, issn = {2475-9066}, number = {85}, year = {2023}, month = {may 11}, pages = {5351}, publisher = {Open Journals}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, url = {https://joss.theoj.org/papers/10.21105/joss.05351}, volume = {8}, } + Test plugin BibTeX citation at Object.<anonymous> (tests/citations/citations.test.ts:81:60)

Check failure on line 81 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing mix of valid plugins/extensions › citing a plugin in BibTeX

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - @Article{Leeuw2023jsPsych, author = {de Leeuw, Joshua R. and Gilbert, Rebecca A. and Luchterhandt, Bj{\" o}rn}, journal = {Journal of Open Source Software}, doi = {10.21105/joss.05351}, issn = {2475-9066}, number = {85}, year = {2023}, month = {may 11}, pages = {5351}, publisher = {Open Journals}, title = {jsPsych: Enabling an {Open}-{Source} {Collaborative} {Ecosystem} of {Behavioral} {Experiments}}, url = {https://joss.theoj.org/papers/10.21105/joss.05351}, volume = {8}, } + Test plugin BibTeX citation at Object.<anonymous> (tests/citations/citations.test.ts:81:60)
jsPsychBibtexCitation + "\n" + testPluginBibtexCitation
);
});
test("citing multiple plugins", () => {
jspsych.getCitations([TestPlugin, TestPlugin]);
expect(consoleLogSpy.mock.calls).toHaveLength(2);
expect(consoleLogSpy.mock.calls[0][0]).toBe(testPluginApaCitation);
expect(consoleLogSpy.mock.calls[1][0]).toBe(testPluginApaCitation);
expect(jspsych.getCitations([TestPlugin, TestPlugin])).toBe(

Check failure on line 86 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing mix of valid plugins/extensions › citing multiple plugins

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:86:62)

Check failure on line 86 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing mix of valid plugins/extensions › citing multiple plugins

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:86:62)

Check failure on line 86 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing mix of valid plugins/extensions › citing multiple plugins

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation at Object.<anonymous> (tests/citations/citations.test.ts:86:62)
jsPsychApaCitation + "\n" + testPluginApaCitation
);
});
test("citing mix of plugins and extensions", () => {
jspsych.getCitations([TestPlugin, TestExtension]);
expect(consoleLogSpy.mock.calls).toHaveLength(2);
expect(consoleLogSpy.mock.calls[0][0]).toBe(testPluginApaCitation);
expect(consoleLogSpy.mock.calls[1][0]).toBe(testExtensionApaCitation);
expect(jspsych.getCitations([TestPlugin, TestExtension])).toBe(

Check failure on line 91 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 18

citing mix of valid plugins/extensions › citing mix of plugins and extensions

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation Test extension APA citation at Object.<anonymous> (tests/citations/citations.test.ts:91:65)

Check failure on line 91 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing mix of valid plugins/extensions › citing mix of plugins and extensions

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation Test extension APA citation at Object.<anonymous> (tests/citations/citations.test.ts:91:65)

Check failure on line 91 in packages/jspsych/tests/citations/citations.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test on Node.js 20

citing mix of valid plugins/extensions › citing mix of plugins and extensions

expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 1 - de Leeuw, J. R., Gilbert, R. A., & Luchterhandt, B. (2023). jsPsych: Enabling an Open-Source Collaborative Ecosystem of Behavioral Experiments. Journal of Open Source Software, 8(85), 5351. https://doi.org/10.21105/joss.05351 + Test plugin APA citation Test extension APA citation at Object.<anonymous> (tests/citations/citations.test.ts:91:65)
jsPsychApaCitation + "\n" + testPluginApaCitation + "\n" + testExtensionApaCitation
);
});
});
} catch (e) {
Expand Down

0 comments on commit 5b64a47

Please sign in to comment.