-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace jest with vitest using a similar approach as vite (#…
…337) * refactor: replace jest with vitest using a similar approach as vite * ci: check if 2 workers are faster than one * fix: update unit test * fix: update ~utils types * chore: increase connect url timeout * chore: remove unused await * chore: try 1 thread * fix: preserve temp dir on ci, align env names to TEST_ * fix: vitest uses posix paths on windows * ci: try 4 threads * fix: return to 1 thread on ci * ci: use windows-latest again and add node18 * chore: run build tests before serve tests because they are less likely to fail * refactor: convert test apps to esm, rebuild kit-node app with latest kit, update execa and node-fetch, fix issue with fetch on node18 * fix: revert preprocess-with-vite to cjs hoping it finds stylus correctly again, fetch as util * fix: force glob to version that includes fix for breaking windows change * fix: stabilize local tests by limiting max threads, improve untilUpdated utility, remove useless code * chore: clean up test Co-authored-by: bluwy <bjornlu.dev@gmail.com>
- @sveltejs/vite-plugin-svelte-inspector@4.0.1
- @sveltejs/vite-plugin-svelte-inspector@4.0.0
- @sveltejs/vite-plugin-svelte-inspector@4.0.0-next.0
- @sveltejs/vite-plugin-svelte-inspector@3.0.1
- @sveltejs/vite-plugin-svelte-inspector@3.0.0
- @sveltejs/vite-plugin-svelte-inspector@3.0.0-next.4
- @sveltejs/vite-plugin-svelte-inspector@3.0.0-next.3
- @sveltejs/vite-plugin-svelte-inspector@3.0.0-next.2
- @sveltejs/vite-plugin-svelte-inspector@3.0.0-next.1
- @sveltejs/vite-plugin-svelte-inspector@3.0.0-next.0
- @sveltejs/vite-plugin-svelte-inspector@2.1.0
- @sveltejs/vite-plugin-svelte-inspector@2.0.0
- @sveltejs/vite-plugin-svelte-inspector@2.0.0-next.1
- @sveltejs/vite-plugin-svelte-inspector@2.0.0-next.0
- @sveltejs/vite-plugin-svelte-inspector@1.0.4
- @sveltejs/vite-plugin-svelte-inspector@1.0.3
- @sveltejs/vite-plugin-svelte-inspector@1.0.2
- @sveltejs/vite-plugin-svelte-inspector@1.0.1
- @sveltejs/vite-plugin-svelte@5.0.3
- @sveltejs/vite-plugin-svelte@5.0.2
- @sveltejs/vite-plugin-svelte@5.0.1
- @sveltejs/vite-plugin-svelte@5.0.0
- @sveltejs/vite-plugin-svelte@5.0.0-next.0
- @sveltejs/vite-plugin-svelte@4.0.4
- @sveltejs/vite-plugin-svelte@4.0.3
- @sveltejs/vite-plugin-svelte@4.0.2
- @sveltejs/vite-plugin-svelte@4.0.1
- @sveltejs/vite-plugin-svelte@4.0.0
- @sveltejs/vite-plugin-svelte@4.0.0-next.8
- @sveltejs/vite-plugin-svelte@4.0.0-next.7
- @sveltejs/vite-plugin-svelte@4.0.0-next.6
- @sveltejs/vite-plugin-svelte@4.0.0-next.5
- @sveltejs/vite-plugin-svelte@4.0.0-next.4
- @sveltejs/vite-plugin-svelte@4.0.0-next.3
- @sveltejs/vite-plugin-svelte@4.0.0-next.2
- @sveltejs/vite-plugin-svelte@4.0.0-next.1
- @sveltejs/vite-plugin-svelte@4.0.0-next.0
- @sveltejs/vite-plugin-svelte@3.1.2
- @sveltejs/vite-plugin-svelte@3.1.1
- @sveltejs/vite-plugin-svelte@3.1.0
- @sveltejs/vite-plugin-svelte@3.0.2
- @sveltejs/vite-plugin-svelte@3.0.1
- @sveltejs/vite-plugin-svelte@3.0.0
- @sveltejs/vite-plugin-svelte@3.0.0-next.3
- @sveltejs/vite-plugin-svelte@3.0.0-next.2
- @sveltejs/vite-plugin-svelte@3.0.0-next.1
- @sveltejs/vite-plugin-svelte@3.0.0-next.0
- @sveltejs/vite-plugin-svelte@2.5.3
- @sveltejs/vite-plugin-svelte@2.5.2
- @sveltejs/vite-plugin-svelte@2.5.1
- @sveltejs/vite-plugin-svelte@2.5.0
- @sveltejs/vite-plugin-svelte@2.4.6
- @sveltejs/vite-plugin-svelte@2.4.5
- @sveltejs/vite-plugin-svelte@2.4.4
- @sveltejs/vite-plugin-svelte@2.4.3
- @sveltejs/vite-plugin-svelte@2.4.2
- @sveltejs/vite-plugin-svelte@2.4.1
- @sveltejs/vite-plugin-svelte@2.4.0
- @sveltejs/vite-plugin-svelte@2.3.0
- @sveltejs/vite-plugin-svelte@2.2.0
- @sveltejs/vite-plugin-svelte@2.1.1
- @sveltejs/vite-plugin-svelte@2.1.0
- @sveltejs/vite-plugin-svelte@2.0.4
- @sveltejs/vite-plugin-svelte@2.0.3
- @sveltejs/vite-plugin-svelte@2.0.2
- @sveltejs/vite-plugin-svelte@2.0.1
- @sveltejs/vite-plugin-svelte@2.0.0
- @sveltejs/vite-plugin-svelte@2.0.0-beta.3
- @sveltejs/vite-plugin-svelte@2.0.0-beta.2
- @sveltejs/vite-plugin-svelte@2.0.0-beta.1
- @sveltejs/vite-plugin-svelte@2.0.0-beta.0
- @sveltejs/vite-plugin-svelte@1.4.0
- @sveltejs/vite-plugin-svelte@1.3.1
- @sveltejs/vite-plugin-svelte@1.3.0
- @sveltejs/vite-plugin-svelte@1.2.0
- @sveltejs/vite-plugin-svelte@1.1.1
- @sveltejs/vite-plugin-svelte@1.1.0
- @sveltejs/vite-plugin-svelte@1.0.9
- @sveltejs/vite-plugin-svelte@1.0.8
- @sveltejs/vite-plugin-svelte@1.0.7
- @sveltejs/vite-plugin-svelte@1.0.6
- @sveltejs/vite-plugin-svelte@1.0.5
- @sveltejs/vite-plugin-svelte@1.0.4
- @sveltejs/vite-plugin-svelte@1.0.3
- @sveltejs/vite-plugin-svelte@1.0.2
- @sveltejs/vite-plugin-svelte@1.0.1
- @sveltejs/vite-plugin-svelte@1.0.0-next.49
- @sveltejs/vite-plugin-svelte@1.0.0-next.48
- @sveltejs/vite-plugin-svelte@1.0.0-next.47
- @sveltejs/vite-plugin-svelte@1.0.0-next.46
- @sveltejs/vite-plugin-svelte@1.0.0-next.45
Showing
60 changed files
with
1,045 additions
and
3,041 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/e2e-tests/autoprefixer-browerslist/__tests__/autoprefixer-browerslist.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,6 @@ | |
"svelte": "^3.48.0", | ||
"svelte-preprocess": "^4.10.6", | ||
"vite": "^2.9.8" | ||
} | ||
}, | ||
"type": "module" | ||
} |
File renamed without changes.
10 changes: 0 additions & 10 deletions
10
packages/e2e-tests/autoprefixer-browerslist/svelte.config.cjs
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
packages/e2e-tests/autoprefixer-browerslist/svelte.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import sveltePreprocess from 'svelte-preprocess'; | ||
import path from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
|
||
export default { | ||
preprocess: sveltePreprocess({ | ||
postcss: { | ||
// tests are run on project root and postcss-load-config uses cwd as default so force correct path here | ||
configFilePath: path.join(path.dirname(fileURLToPath(import.meta.url)), 'postcss.config.cjs') | ||
} | ||
}) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/e2e-tests/configfile-custom/__tests__/configfile-custom.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,6 @@ | |
"@sveltejs/vite-plugin-svelte": "workspace:*", | ||
"svelte": "^3.48.0", | ||
"vite": "^2.9.8" | ||
} | ||
}, | ||
"type": "module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/e2e-tests/configfile-esm/__tests__/configfile-esm.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/e2e-tests/custom-extensions/__tests__/custom-extensions.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,6 @@ | |
"@sveltejs/vite-plugin-svelte": "workspace:*", | ||
"svelte": "^3.48.0", | ||
"vite": "^2.9.8" | ||
} | ||
}, | ||
"type": "module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.