-
-
Notifications
You must be signed in to change notification settings - Fork 71
feat: simple testing library #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
5e22384
skip writing empty files
AdrianGonz97 95ff386
rename dir because vitest hates us
AdrianGonz97 71e47f2
dont expose `options`
AdrianGonz97 7e0f152
simplify
AdrianGonz97 974e5ad
pm
AdrianGonz97 8570940
remove old tests
AdrianGonz97 809a72f
initial install helper impl
AdrianGonz97 3e6f6bd
ignores
AdrianGonz97 0c86f37
add initial tests
AdrianGonz97 665ead0
..pin storybook
AdrianGonz97 6446e59
fix scripts
AdrianGonz97 53934db
add storybook test
AdrianGonz97 d3ef737
simplify
AdrianGonz97 e398dc2
deps
AdrianGonz97 8068dfc
add retries
AdrianGonz97 4b2f036
not needed
AdrianGonz97 0a0ba1a
tweak community template
AdrianGonz97 cd1a56d
add fixtures
AdrianGonz97 ed32699
community template tests
AdrianGonz97 d40929a
naming
AdrianGonz97 36939bb
tweaks
AdrianGonz97 c1b61be
unneeded
AdrianGonz97 7ae9ad9
clean
AdrianGonz97 1379621
Merge branch 'main' into feat/simple-testing-lib
AdrianGonz97 6adea4d
lockfile trickery
AdrianGonz97 266fea4
fix eslint test
AdrianGonz97 6a139e2
fix paraglide
AdrianGonz97 0fa007f
tweak workflow
AdrianGonz97 d417939
...
AdrianGonz97 19e80da
fix lint
AdrianGonz97 b2af1bb
fix check
AdrianGonz97 6d96a56
Merge branch 'main' into feat/simple-testing-lib
AdrianGonz97 fa0a992
simplify
AdrianGonz97 a9bbe4f
simplify
AdrianGonz97 a76f89b
upgrade vitest
AdrianGonz97 55afcbe
fix nit
AdrianGonz97 e6386a7
fix lint
AdrianGonz97 6a1d29f
simplify
AdrianGonz97 1e5be34
cleanup
AdrianGonz97 1e676fe
rename `vi` to `vitest`
AdrianGonz97 0a56d26
windows fixes
AdrianGonz97 f6523d4
more windows annoyances
AdrianGonz97 5870036
tweaks
AdrianGonz97 677fbb0
add `test:ui` script
manuel3108 6e9360c
`tinyexec` `throwOnError: true`
manuel3108 7181351
revert
AdrianGonz97 d98c630
properly terminate child processes
AdrianGonz97 9aa59cf
dont skip storybook
AdrianGonz97 dd141e7
cleanup on failure to load the page
AdrianGonz97 d4794f0
unused
AdrianGonz97 50fde5c
newline
AdrianGonz97 2b98217
use vitest workspaces
AdrianGonz97 8e00672
add `try-catch` while killing processes
manuel3108 9526fee
increase navigation timeout
manuel3108 ebe7812
fix timeout
AdrianGonz97 ed81a57
add retries
AdrianGonz97 a3baf83
remove storybook log
AdrianGonz97 987b1e8
cleanup cli package
AdrianGonz97 650ede7
fixes
AdrianGonz97 047c549
format before evaluating test
AdrianGonz97 fe810a5
fix dir path
AdrianGonz97 25cadb6
setup matrix
AdrianGonz97 88f9473
skip running docker containers outside of linux runners
AdrianGonz97 9d5b6b2
print console output?
manuel3108 ef2df6e
force `npm` for storybook?
manuel3108 c3aa2fc
Revert "force `npm` for storybook?"
manuel3108 1c095d6
try latest
manuel3108 57ab58e
Revert "try latest"
manuel3108 88bf2ec
Revert "print console output?"
manuel3108 fc72e9a
skip runnung storybook tests in ci on windows
manuel3108 77fd78e
last bits
AdrianGonz97 c01e72e
Merge branch 'main' into feat/simple-testing-lib
AdrianGonz97 b6d91be
format
AdrianGonz97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -4,5 +4,6 @@ | |
| "checkJs": false, | ||
| "isolatedDeclarations": true, | ||
| "declaration": true | ||
| } | ||
| }, | ||
| "include": ["index.ts"] | ||
| } | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| import { defineConfig, type UserConfig } from 'vitest/config'; | ||
| import { defineConfig } from 'vitest/config'; | ||
|
|
||
| export default defineConfig({ | ||
| test: { dir: './tests', include: ['./**/index.ts'] } | ||
| }) as UserConfig; | ||
| test: { | ||
| dir: './tests', | ||
| include: ['./**/index.ts'] | ||
| } | ||
| }); |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.