Skip to content

Changed push to unshift to make extension version and type appear first #96

Changed push to unshift to make extension version and type appear first

Changed push to unshift to make extension version and type appear first #96

Triggered via push July 18, 2024 16:11
Status Failure
Total duration 2m 20s
Artifacts

build.yml

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

Annotations

5 errors and 1 warning
ExtensionManager › onFinish() › calls `on_finish` on all extensions specified in the provided `extensions` parameter and returns a joint extension results object: packages/jspsych/src/ExtensionManager.spec.ts#L116
expect(received).toEqual(expected) // deep equality - Expected - 6 + Received + 2 Object { "extension": "result", - "extension_type": Array [ - "test", - ], - "extension_version": Array [ - "1.0", - ], + "extension_type": "test", + "extension_version": "1.0", } at Object.<anonymous> (src/ExtensionManager.spec.ts:116:23)
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.
ExtensionManager › onFinish() › calls `on_finish` on all extensions specified in the provided `extensions` parameter and returns a joint extension results object: packages/jspsych/src/ExtensionManager.spec.ts#L116
expect(received).toEqual(expected) // deep equality - Expected - 6 + Received + 2 Object { "extension": "result", - "extension_type": Array [ - "test", - ], - "extension_version": Array [ - "1.0", - ], + "extension_type": "test", + "extension_version": "1.0", } at Object.<anonymous> (src/ExtensionManager.spec.ts:116:23)
Build, lint, and test on Node.js 20
Process completed with exit code 1.
Build, lint, and test on Node.js 18
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/