Add ci and convert to vitest #12
Annotations
9 errors and 1 warning
test/unit/core.js > core :: #getWebGLContext() :: should return a webgl context:
src/core.js#L141
TypeError: Cannot read properties of null (reading 'getUniformLocation')
❯ NodeCanvasElement.getContext node_modules/node-canvas-webgl/lib/canvas.js:88:39
❯ Module.getWebGLContext src/core.js:141:22
❯ test/unit/core.js:13:26
|
test/unit/core.js > core :: #init() :: should return an object with webgl context and scene data:
src/core.js#L141
TypeError: Cannot read properties of null (reading 'getUniformLocation')
❯ NodeCanvasElement.getContext node_modules/node-canvas-webgl/lib/canvas.js:88:39
❯ Module.getWebGLContext src/core.js:141:22
❯ test/unit/core.js:27:44
|
test/unit/core.js > core :: #init() :: should return scene data with complete WebGL program data:
src/core.js#L141
TypeError: Cannot read properties of null (reading 'getUniformLocation')
❯ NodeCanvasElement.getContext node_modules/node-canvas-webgl/lib/canvas.js:88:39
❯ Module.getWebGLContext src/core.js:141:22
❯ test/unit/core.js:37:44
|
test/unit/core.js > core :: #draw :: should draw blank image to the target canvas:
src/core.js#L141
TypeError: Cannot read properties of null (reading 'getUniformLocation')
❯ NodeCanvasElement.getContext node_modules/node-canvas-webgl/lib/canvas.js:88:39
❯ Module.getWebGLContext src/core.js:141:22
❯ test/unit/core.js:65:42
|
test/unit/core.js > core :: #resize() :: should resize target to supplied dimensions and ignore canvas CSS dimensions:
src/core.js#L141
TypeError: Cannot read properties of null (reading 'getUniformLocation')
❯ NodeCanvasElement.getContext node_modules/node-canvas-webgl/lib/canvas.js:88:39
❯ Module.getWebGLContext src/core.js:141:22
❯ test/unit/core.js:110:42
|
test/unit/core.js > should resize target to supplied dimensions and ignore canvas CSS dimensions:
src/core.js#L141
TypeError: Cannot read properties of null (reading 'getUniformLocation')
❯ NodeCanvasElement.getContext node_modules/node-canvas-webgl/lib/canvas.js:88:39
❯ Module.getWebGLContext src/core.js:141:22
❯ test/unit/core.js:126:42
|
test/unit/core.js > core :: #destroy() :: dispose of all target canvas' resources:
src/core.js#L141
TypeError: Cannot read properties of null (reading 'getUniformLocation')
❯ NodeCanvasElement.getContext node_modules/node-canvas-webgl/lib/canvas.js:88:39
❯ Module.getWebGLContext src/core.js:141:22
❯ test/unit/core.js:144:42
|
test
Process completed with exit code 1.
|
test
Process completed with exit code 1.
|
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
|