Skip to content

modifiy citation test to check for built version #1781

modifiy citation test to check for built version

modifiy citation test to check for built version #1781

Triggered via push December 17, 2024 20:58
Status Failure
Total duration 3m 47s
Artifacts

build.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
citing using an array in different formats › citing empty array with APA format: packages/jspsych/tests/citations/citations.test.ts#L49
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:49:42)
citing using an array in different formats › citing empty array with BibTeX format: packages/jspsych/tests/citations/citations.test.ts#L53
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:53:42)
citing using an array in different formats › citing empty array without format: packages/jspsych/tests/citations/citations.test.ts#L57
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:57:42)
citing mix of valid plugins/extensions › citing multiple plugins: packages/jspsych/tests/citations/citations.test.ts#L81
expect(received).toHaveLength(expected) Expected length: 2 Received length: 1 Received array: [["Test plugin APA citation"]] at Object.<anonymous> (tests/citations/citations.test.ts:81:40)
Build, lint, and test on Node.js 18
Process completed with exit code 1.
Build, lint, and test on Node.js 20
The job was canceled because "_18" failed.
citing using an array in different formats › citing empty array with APA format: packages/jspsych/tests/citations/citations.test.ts#L49
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:49:42)
citing using an array in different formats › citing empty array with BibTeX format: packages/jspsych/tests/citations/citations.test.ts#L53
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:53:42)
citing using an array in different formats › citing empty array without format: packages/jspsych/tests/citations/citations.test.ts#L57
TypeError: Cannot read properties of undefined (reading '0') at Object.<anonymous> (tests/citations/citations.test.ts:57:42)
citing mix of valid plugins/extensions › citing multiple plugins: packages/jspsych/tests/citations/citations.test.ts#L81
expect(received).toHaveLength(expected) Expected length: 2 Received length: 1 Received array: [["Test plugin APA citation"]] at Object.<anonymous> (tests/citations/citations.test.ts:81:40)
Build, lint, and test on Node.js 20
Process completed with exit code 1.
Build, lint, and test on Node.js 18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636