Commit Graph

25 Commits

Author SHA1 Message Date
Daniel Roe
dab1b114bc
fix(test-utils): respect setupTimeout (#7866) 2022-10-03 15:48:03 +02:00
Daniel Roe
0640a6c7a4
fix(test-utils): support vitest v0.20.x (#7712) 2022-09-21 12:20:29 +02:00
Ricardo Gobbo de Souza
b31405f6fd
feat(test-utils): add mockFn and mockLogger utils (#6235)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-05 10:51:00 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
kazuya kawaguchi
0df9553ec4
refactor(test-utils): remove unused codes (#6369) 2022-08-05 10:35:08 +02:00
Cédric Exbrayat
943dc0e16e
chore(test-utils): error message typo (#6203) 2022-07-28 14:40:03 +01:00
Bob Olde Hampsink
8685bfa9e9
fix(test-utils): update vitest import path with .mjs (#5817) 2022-07-11 17:37:21 +02:00
Daniel Roe
cd37a21c2e
fix(test-utils): hardcode ipv4 ip for localhost (#4998) 2022-05-17 09:40:35 +08:00
pooya parsa
24923db992
chore: update and cleanup workspace (#4450)
* fix(test-utils): resolve nuxi locally
2022-04-20 12:19:30 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node: prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
Anthony Fu
47b7e5cd94
test: increse retries for dev tests (#4182) 2022-04-07 23:49:43 +02:00
pooya parsa
2cc3aaba5f
chore(ci): enable testing fixtures in development (#3755)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-07 21:15:30 +02:00
pooya parsa
11626eea4f
feat!: migrate to nitropack (#3956)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Anthony Fu
96ad9cfe97
docs: init testing section (#3930) 2022-03-30 18:00:08 +02:00
pooya parsa
a50b8ca712
feat(test-utils): test in development mode (#3753) 2022-03-17 22:31:06 +01:00
Daniel Roe
2590ae39d3
feat(test-utils)!: add support for running with env variables (#3742)
Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-17 22:17:54 +01:00
pooya parsa
7d945952d8
fix(kit): avoid behavior change based on NODE_ENV (#3751) 2022-03-17 21:10:12 +01:00
Anthony Fu
452a7730e0
feat(nuxi): init nuxi test support (#3307)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 13:34:27 +01:00
Anthony Fu
e67ed55de3
fix(test-utils): use beforeAll for setup (#3696) 2022-03-16 11:47:02 +01:00
Ahad Birang
66605971a8
fix(test-utils): workaround playwright dynamic import issue with vite (#3489) 2022-03-03 20:03:48 +01:00
pooya parsa
39f7eb2cd2
fix(test-utils): improve random port allocation (#3398) 2022-02-28 22:41:44 +01:00
Anthony Fu
4ff1a954b3
test: add more tests (#3392) 2022-02-25 21:14:53 +01:00
pooya parsa
12a95ad86c
test: rework tests using @nuxt/test-utils (#3308) 2022-02-18 19:14:57 +01:00
Anthony Fu
467ab693b9
feat: shared logger and silent test logs (#3259)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00
pooya parsa
c53c7360b7
feat: @nuxt/test-utils (#2952)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-02-11 14:22:58 +01:00