Skip to content

Added extension version and type to ExtensionManager.ts #1573

Added extension version and type to ExtensionManager.ts

Added extension version and type to ExtensionManager.ts #1573

Triggered via pull request July 18, 2024 16:11
Status Failure
Total duration 3m 43s
Artifacts

build.yml

on: pull_request
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 20
Process completed with exit code 1.
Build, lint, and test on Node.js 18
The job was canceled because "_20" 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 18
The operation was canceled.
Build, lint, and test on Node.js 20
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/