Skip to content

test: fix auto-cleanup tests #387

test: fix auto-cleanup tests

test: fix auto-cleanup tests #387

Triggered via pull request April 30, 2024 04:01
Status Success
Total duration 1m 5s
Artifacts

release.yml

on: pull_request
Matrix: main
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 12 warnings
src/__tests__/auto-cleanup.test.js > auto-cleanup > calls afterEach with cleanup if globally defined: node_modules/svelte/src/internal/client/dom/operations.js#L118
TypeError: Cannot read properties of undefined (reading 'call') ❯ Module.clone_node node_modules/svelte/src/internal/client/dom/operations.js:118:45 ❯ node_modules/svelte/src/internal/client/dom/template.js:66:89 ❯ Comp src/__tests__/fixtures/Comp.svelte:23:17 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:37:39 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20 ❯ Module.execute_effect node_modules/svelte/src/internal/client/runtime.js:429:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:78:26 ❯ Module.branch node_modules/svelte/src/internal/client/reactivity/effects.js:224:9 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:32:35 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20
src/__tests__/auto-cleanup.test.js > auto-cleanup > does not call afterEach if process STL_SKIP_AUTO_CLEANUP is set: node_modules/svelte/src/internal/client/dom/operations.js#L118
TypeError: Cannot read properties of undefined (reading 'call') ❯ Module.clone_node node_modules/svelte/src/internal/client/dom/operations.js:118:45 ❯ node_modules/svelte/src/internal/client/dom/template.js:66:89 ❯ Comp src/__tests__/fixtures/Comp.svelte:23:17 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:37:39 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20 ❯ Module.execute_effect node_modules/svelte/src/internal/client/runtime.js:429:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:78:26 ❯ Module.branch node_modules/svelte/src/internal/client/reactivity/effects.js:224:9 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:32:35 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20
src/__tests__/auto-cleanup.test.js > auto-cleanup > does not call afterEach if you import from `pure`: node_modules/svelte/src/internal/client/dom/operations.js#L118
TypeError: Cannot read properties of undefined (reading 'call') ❯ Module.clone_node node_modules/svelte/src/internal/client/dom/operations.js:118:45 ❯ node_modules/svelte/src/internal/client/dom/template.js:66:89 ❯ Comp src/__tests__/fixtures/Comp.svelte:23:17 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:37:39 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20 ❯ Module.execute_effect node_modules/svelte/src/internal/client/runtime.js:429:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:78:26 ❯ Module.branch node_modules/svelte/src/internal/client/reactivity/effects.js:224:9 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:32:35 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20
Node 20, Svelte next, vitest:happy-dom
Process completed with exit code 1.
src/__tests__/auto-cleanup.test.js > auto-cleanup > calls afterEach with cleanup if globally defined: node_modules/svelte/src/internal/client/dom/operations.js#L118
TypeError: Cannot read properties of undefined (reading 'call') ❯ Module.clone_node node_modules/svelte/src/internal/client/dom/operations.js:118:45 ❯ node_modules/svelte/src/internal/client/dom/template.js:66:89 ❯ Comp src/__tests__/fixtures/Comp.svelte:23:17 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:37:39 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20 ❯ Module.execute_effect node_modules/svelte/src/internal/client/runtime.js:429:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:78:26 ❯ Module.branch node_modules/svelte/src/internal/client/reactivity/effects.js:224:9 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:32:35 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20
src/__tests__/auto-cleanup.test.js > auto-cleanup > does not call afterEach if process STL_SKIP_AUTO_CLEANUP is set: node_modules/svelte/src/internal/client/dom/operations.js#L118
TypeError: Cannot read properties of undefined (reading 'call') ❯ Module.clone_node node_modules/svelte/src/internal/client/dom/operations.js:118:45 ❯ node_modules/svelte/src/internal/client/dom/template.js:66:89 ❯ Comp src/__tests__/fixtures/Comp.svelte:23:17 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:37:39 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20 ❯ Module.execute_effect node_modules/svelte/src/internal/client/runtime.js:429:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:78:26 ❯ Module.branch node_modules/svelte/src/internal/client/reactivity/effects.js:224:9 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:32:35 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20
src/__tests__/auto-cleanup.test.js > auto-cleanup > does not call afterEach if you import from `pure`: node_modules/svelte/src/internal/client/dom/operations.js#L118
TypeError: Cannot read properties of undefined (reading 'call') ❯ Module.clone_node node_modules/svelte/src/internal/client/dom/operations.js:118:45 ❯ node_modules/svelte/src/internal/client/dom/template.js:66:89 ❯ Comp src/__tests__/fixtures/Comp.svelte:23:17 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:37:39 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20 ❯ Module.execute_effect node_modules/svelte/src/internal/client/runtime.js:429:18 ❯ create_effect node_modules/svelte/src/internal/client/reactivity/effects.js:78:26 ❯ Module.branch node_modules/svelte/src/internal/client/reactivity/effects.js:224:9 ❯ Object.fn node_modules/svelte/src/internal/client/dev/hmr.js:32:35 ❯ execute_reaction_fn node_modules/svelte/src/internal/client/runtime.js:262:20
Node 20, Svelte next, vitest:jsdom
Process completed with exit code 1.
Node 16, Svelte 4, vitest:happy-dom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 16, Svelte 4, vitest:jsdom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 16, Svelte 3, vitest:jsdom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 16, Svelte 3, vitest:happy-dom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 20, Svelte 3, vitest:happy-dom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 18, Svelte 4, vitest:happy-dom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 20, Svelte 3, vitest:jsdom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 18, Svelte 3, vitest:happy-dom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 18, Svelte 3, vitest:jsdom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 20, Svelte 4, vitest:jsdom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 20, Svelte 4, vitest:happy-dom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node 18, Svelte 4, vitest:jsdom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.