Skip to content

Commit

Permalink
fixup: deepClone from vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous committed Oct 11, 2024
1 parent fd05580 commit 1be6f67
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/__tests__/vite-plugin.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { beforeEach, describe, expect, test, vi } from 'vitest'
import { beforeEach, deepClone, describe, expect, test, vi } from 'vitest'

import { svelteTesting } from '../vite.js'
import { IS_JEST } from './utils.js'
Expand Down Expand Up @@ -45,7 +45,7 @@ describe.skipIf(IS_JEST)('vite plugin', () => {
'adds browser condition if necessary',
({ config, expectedConditions }) => {
const subject = svelteTesting()
const viteConfig = structuredClone(config)
const viteConfig = deepClone(config)

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

Check failure on line 48 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds browser condition if necessary

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:48:26

subject.config(viteConfig)

Expand Down Expand Up @@ -74,7 +74,7 @@ describe.skipIf(IS_JEST)('vite plugin', () => {
'skips browser condition if possible',
({ config, expectedConditions }) => {
const subject = svelteTesting()
const viteConfig = structuredClone(config)
const viteConfig = deepClone(config)

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

Check failure on line 77 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > skips browser condition if possible

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:77:26

subject.config(viteConfig)

Expand Down Expand Up @@ -104,7 +104,7 @@ describe.skipIf(IS_JEST)('vite plugin', () => {
},
])('adds cleanup', ({ config, expectedSetupFiles }) => {
const subject = svelteTesting()
const viteConfig = structuredClone(config)
const viteConfig = deepClone(config)

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

Check failure on line 107 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds cleanup

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:107:24

subject.config(viteConfig)

Expand Down Expand Up @@ -134,7 +134,7 @@ describe.skipIf(IS_JEST)('vite plugin', () => {
},
])('adds noExternal rule', ({ config, expectedNoExternal }) => {
const subject = svelteTesting()
const viteConfig = structuredClone(config)
const viteConfig = deepClone(config)

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 16, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 18, Svelte 4, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 3, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:happy-dom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte 4, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

Check failure on line 137 in src/__tests__/vite-plugin.test.js

View workflow job for this annotation

GitHub Actions / Node 20, Svelte next, test:vitest:jsdom

src/__tests__/vite-plugin.test.js > vite plugin > adds noExternal rule

TypeError: deepClone is not a function ❯ src/__tests__/vite-plugin.test.js:137:24

subject.config(viteConfig)

Expand All @@ -160,7 +160,7 @@ describe.skipIf(IS_JEST)('vite plugin', () => {
},
])('skips noExternal if able', ({ config, expectedNoExternal }) => {
const subject = svelteTesting()
const viteConfig = structuredClone(config)
const viteConfig = deepClone(config)

subject.config(viteConfig)

Expand All @@ -173,7 +173,7 @@ describe.skipIf(IS_JEST)('vite plugin', () => {

test('bails on noExternal if input is unexpected', () => {
const subject = svelteTesting()
const viteConfig = structuredClone({ ssr: { noExternal: false } })
const viteConfig = deepClone({ ssr: { noExternal: false } })

subject.config(viteConfig)

Expand Down

0 comments on commit 1be6f67

Please sign in to comment.