Skip to content

Tree shaking

Tree shaking #24

Triggered via pull request May 20, 2024 20:42
@bherbruckbherbruck
synchronize #12
tree-shaking
Status Failure
Total duration 30s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
test/Chart.test.ts > Chart Component > initializes with provided options: src/lib/components/Chart.svelte#L32
ReferenceError: ResizeObserver is not defined ❯ initChart src/lib/components/Chart.svelte:32:11 ❯ Object.mount [as m] src/lib/components/Chart.svelte:41:94 ❯ mount_component node_modules/svelte/src/runtime/internal/Component.js:37:23 ❯ Module.init node_modules/svelte/src/runtime/internal/Component.js:157:3 ❯ new Chart src/lib/components/Chart.svelte:167:25 ❯ Module.createProxiedComponent node_modules/svelte-hmr/runtime/svelte-hooks.js:338:9 ❯ new ProxyComponent node_modules/svelte-hmr/runtime/proxy.js:243:29 ❯ new Proxy<Chart> node_modules/svelte-hmr/runtime/proxy.js:351:11 ❯ SvelteTestingLibrary.renderComponent node_modules/@testing-library/svelte/src/pure.js:97:23 ❯ SvelteTestingLibrary.render node_modules/@testing-library/svelte/src/pure.js:65:28
build (20.x)
Process completed with exit code 1.
build (18.x)
The job was canceled because "_20_x" failed.
test/Chart.test.ts > Chart Component > initializes with provided options: src/lib/components/Chart.svelte#L32
ReferenceError: ResizeObserver is not defined ❯ initChart src/lib/components/Chart.svelte:32:11 ❯ Object.mount [as m] src/lib/components/Chart.svelte:41:94 ❯ mount_component node_modules/svelte/src/runtime/internal/Component.js:37:23 ❯ Module.init node_modules/svelte/src/runtime/internal/Component.js:157:3 ❯ new Chart src/lib/components/Chart.svelte:167:25 ❯ Module.createProxiedComponent node_modules/svelte-hmr/runtime/svelte-hooks.js:338:9 ❯ new ProxyComponent node_modules/svelte-hmr/runtime/proxy.js:243:29 ❯ new Proxy<Chart> node_modules/svelte-hmr/runtime/proxy.js:351:11 ❯ SvelteTestingLibrary.renderComponent node_modules/@testing-library/svelte/src/pure.js:97:23 ❯ SvelteTestingLibrary.render node_modules/@testing-library/svelte/src/pure.js:65:28
build (18.x)
Process completed with exit code 1.
build (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.