Skip to content
Merged
Show file tree
Hide file tree
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 Nov 4, 2024
95ff386
rename dir because vitest hates us
AdrianGonz97 Nov 6, 2024
71e47f2
dont expose `options`
AdrianGonz97 Nov 6, 2024
7e0f152
simplify
AdrianGonz97 Nov 6, 2024
974e5ad
pm
AdrianGonz97 Nov 6, 2024
8570940
remove old tests
AdrianGonz97 Nov 6, 2024
809a72f
initial install helper impl
AdrianGonz97 Nov 7, 2024
3e6f6bd
ignores
AdrianGonz97 Nov 7, 2024
0c86f37
add initial tests
AdrianGonz97 Nov 7, 2024
665ead0
..pin storybook
AdrianGonz97 Nov 7, 2024
6446e59
fix scripts
AdrianGonz97 Nov 7, 2024
53934db
add storybook test
AdrianGonz97 Nov 7, 2024
d3ef737
simplify
AdrianGonz97 Nov 7, 2024
e398dc2
deps
AdrianGonz97 Nov 7, 2024
8068dfc
add retries
AdrianGonz97 Nov 7, 2024
4b2f036
not needed
AdrianGonz97 Nov 7, 2024
0a0ba1a
tweak community template
AdrianGonz97 Nov 7, 2024
cd1a56d
add fixtures
AdrianGonz97 Nov 7, 2024
ed32699
community template tests
AdrianGonz97 Nov 7, 2024
d40929a
naming
AdrianGonz97 Nov 7, 2024
36939bb
tweaks
AdrianGonz97 Nov 7, 2024
c1b61be
unneeded
AdrianGonz97 Nov 7, 2024
7ae9ad9
clean
AdrianGonz97 Nov 7, 2024
1379621
Merge branch 'main' into feat/simple-testing-lib
AdrianGonz97 Nov 7, 2024
6adea4d
lockfile trickery
AdrianGonz97 Nov 7, 2024
266fea4
fix eslint test
AdrianGonz97 Nov 7, 2024
6a139e2
fix paraglide
AdrianGonz97 Nov 7, 2024
0fa007f
tweak workflow
AdrianGonz97 Nov 7, 2024
d417939
...
AdrianGonz97 Nov 7, 2024
19e80da
fix lint
AdrianGonz97 Nov 7, 2024
b2af1bb
fix check
AdrianGonz97 Nov 7, 2024
6d96a56
Merge branch 'main' into feat/simple-testing-lib
AdrianGonz97 Nov 7, 2024
fa0a992
simplify
AdrianGonz97 Nov 7, 2024
a9bbe4f
simplify
AdrianGonz97 Nov 8, 2024
a76f89b
upgrade vitest
AdrianGonz97 Nov 8, 2024
55afcbe
fix nit
AdrianGonz97 Nov 8, 2024
e6386a7
fix lint
AdrianGonz97 Nov 8, 2024
6a1d29f
simplify
AdrianGonz97 Nov 8, 2024
1e5be34
cleanup
AdrianGonz97 Nov 8, 2024
1e676fe
rename `vi` to `vitest`
AdrianGonz97 Nov 8, 2024
0a56d26
windows fixes
AdrianGonz97 Nov 8, 2024
f6523d4
more windows annoyances
AdrianGonz97 Nov 8, 2024
5870036
tweaks
AdrianGonz97 Nov 8, 2024
677fbb0
add `test:ui` script
manuel3108 Nov 8, 2024
6e9360c
`tinyexec` `throwOnError: true`
manuel3108 Nov 8, 2024
7181351
revert
AdrianGonz97 Nov 8, 2024
d98c630
properly terminate child processes
AdrianGonz97 Nov 9, 2024
9aa59cf
dont skip storybook
AdrianGonz97 Nov 9, 2024
dd141e7
cleanup on failure to load the page
AdrianGonz97 Nov 9, 2024
d4794f0
unused
AdrianGonz97 Nov 9, 2024
50fde5c
newline
AdrianGonz97 Nov 9, 2024
2b98217
use vitest workspaces
AdrianGonz97 Nov 9, 2024
8e00672
add `try-catch` while killing processes
manuel3108 Nov 9, 2024
9526fee
increase navigation timeout
manuel3108 Nov 9, 2024
ebe7812
fix timeout
AdrianGonz97 Nov 9, 2024
ed81a57
add retries
AdrianGonz97 Nov 9, 2024
a3baf83
remove storybook log
AdrianGonz97 Nov 9, 2024
987b1e8
cleanup cli package
AdrianGonz97 Nov 10, 2024
650ede7
fixes
AdrianGonz97 Nov 10, 2024
047c549
format before evaluating test
AdrianGonz97 Nov 10, 2024
fe810a5
fix dir path
AdrianGonz97 Nov 10, 2024
25cadb6
setup matrix
AdrianGonz97 Nov 10, 2024
88f9473
skip running docker containers outside of linux runners
AdrianGonz97 Nov 11, 2024
9d5b6b2
print console output?
manuel3108 Nov 11, 2024
ef2df6e
force `npm` for storybook?
manuel3108 Nov 11, 2024
c3aa2fc
Revert "force `npm` for storybook?"
manuel3108 Nov 11, 2024
1c095d6
try latest
manuel3108 Nov 11, 2024
57ab58e
Revert "try latest"
manuel3108 Nov 11, 2024
88bf2ec
Revert "print console output?"
manuel3108 Nov 11, 2024
fc72e9a
skip runnung storybook tests in ci on windows
manuel3108 Nov 11, 2024
77fd78e
last bits
AdrianGonz97 Nov 11, 2024
c01e72e
Merge branch 'main' into feat/simple-testing-lib
AdrianGonz97 Nov 11, 2024
b6d91be
format
AdrianGonz97 Nov 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions community-adder-template/vitest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { cpus } from 'node:os';
import { defineConfig } from 'vitest/config';

const ONE_MINUTE = 1000 * 60;
Expand All @@ -7,10 +6,9 @@ export default defineConfig({
test: {
include: ['tests/**/*.test.{js,ts}'],
exclude: ['tests/setup/*'],
testTimeout: ONE_MINUTE * 2,
testTimeout: ONE_MINUTE * 3,
hookTimeout: ONE_MINUTE * 3,
maxConcurrency: cpus().length,
pool: 'forks',
maxConcurrency: 10,
globalSetup: ['tests/setup/global.ts']
}
});
6 changes: 2 additions & 4 deletions packages/adders/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { cpus } from 'node:os';
import { env } from 'node:process';
import { defineConfig } from 'vitest/config';

Expand All @@ -7,10 +6,9 @@ const ONE_MINUTE = 1000 * 60;
export default defineConfig({
test: {
include: ['_tests/**/test.{js,ts}'],
testTimeout: ONE_MINUTE * 2,
testTimeout: ONE_MINUTE * 3,
hookTimeout: ONE_MINUTE * 3,
maxConcurrency: cpus().length,
pool: 'forks',
maxConcurrency: 10,
globalSetup: ['_tests/_setup/global.ts'],
retry: env.CI ? 3 : 0
}
Expand Down
3 changes: 2 additions & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"checkJs": false,
"isolatedDeclarations": true,
"declaration": true
}
},
"include": ["index.ts"]
}
9 changes: 6 additions & 3 deletions packages/core/vitest.config.ts
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']
}
});