Commit Graph

263 Commits

Author SHA1 Message Date
fisker Cheung 4e7d916ec6
chore: update ESLint to v9 (#15531) 2025-03-05 14:49:46 +01:00
liuxingbaoyu 611d1a4ba0
Improve `babel-plugin-jest-hoist` logic (#15415) 2024-12-10 11:17:35 +01:00
Brandon Chinn 68dca2a321
Fix testPathPatterns when config is in subdirectory (#14934) 2024-05-29 08:41:13 +02:00
ConnectDotz 7a2ccc23d3
feat: split some `jest-snapshot` utility functions to its own package `@jest/snapshot-utils` (#15095) 2024-05-29 08:24:52 +02:00
Mikhail 18cde1d173
chore: optimize getting extraEntryPoints in buildUtils (#15074) 2024-05-22 00:17:44 +02:00
Tom Mrazauskas 559449e5a0
chore: migrate type tests of `each` to TSTyche (#14994) 2024-05-13 08:51:19 +00:00
Tom Mrazauskas c3184788e2
chore: migrate `jest-mock` type tests to TSTyche (#14884) 2024-02-20 08:53:30 +01:00
Simen Bekkhus c13bca3055
chore: use `String.replaceAll` if possible (#14823) 2023-12-31 18:38:00 +01:00
Simen Bekkhus 8f296b64e6
chore: use `Object.fromEntries` over `reduce` (#14822) 2023-12-31 17:12:00 +01:00
Simen Bekkhus bd3a7e9fd7
chore: prefer using array spread (#14820) 2023-12-31 14:52:26 +00:00
Simen Bekkhus 2ddc4305ca
chore: errors should be named as such (#14817) 2023-12-30 11:05:52 +00:00
Simen Bekkhus 90ef733a44
chore: use consistent casing in escape characters (#14806) 2023-12-29 16:15:04 +00:00
Simen Bekkhus eaea490134
chore: enable lint rule for better `RegExp`es (#14803) 2023-12-29 09:23:18 +00:00
Simen Bekkhus 0469b4c698
chore: enable a bunch more lint rules (#14794) 2023-12-29 07:49:03 +00:00
Simen Bekkhus 1e942f5ef1
chore: upgrade prettier (#14780) 2023-12-25 21:09:35 +01:00
Simen Bekkhus 01a923b22e
feat: introduce helper package for implementing a custom JSDOM enviroment (#14717) 2023-11-27 08:32:53 +01:00
Simen Bekkhus 94915dd0e9
chore: cleanup imports in `d.ts` files (#14663) 2023-10-30 14:04:06 +01:00
Simen Bekkhus 79a4ff4985
fix: add ESM exports of all modules manually (#14661) 2023-10-30 11:01:22 +00:00
Simen Bekkhus 46285d8bd2 chore: fix build script
I was a bit too quick in 66a002771c
2023-10-02 14:16:29 +02:00
Simen Bekkhus 66a002771c
chore: use webpack watcher in watch mode (#14590) 2023-10-02 14:04:09 +02:00
Simen Bekkhus 7f1d897db5
chore: upgrade to prettier v3 (#14582) 2023-09-28 18:32:53 +00:00
liuxingbaoyu 769ee6ea2b
Support Prettier 3 (#14566) 2023-09-25 08:29:36 +00:00
Simen Bekkhus 76b0318c9b
chore: remove empty directories from `build/` (#14550) 2023-09-20 07:05:49 +00:00
Tom Mrazauskas d12cbf1105
chore: use `@tsconfig/node16` (#14547) 2023-09-20 06:55:24 +00:00
Simen Bekkhus 70340d0b6c
feat: bundle Jest's modules with webpack (#12348) 2023-09-20 00:20:28 +02:00
Simen Bekkhus 9b7af034ea
chore: set minimum TS version to v4.5 (#14542) 2023-09-19 13:21:25 +02:00
Simen Bekkhus 5b56467d0c
chore: use for..of instead of forEach (#14517) 2023-09-19 10:41:10 +00:00
Simen Bekkhus c985cb403b
chore: upgrade to TS-ESLint@6 (#14483) 2023-09-19 10:22:02 +00:00
Simen Bekkhus 408881b8fa
chore: enforce explicit length checks (#14539) 2023-09-18 16:10:35 +00:00
Mikhail c4c9849155
fix: optimize filter in build ts (#14528) 2023-09-18 16:19:46 +02:00
Mikhail b06dc2a0ce
fix: simplify getting testUtilsReferences (#14529) 2023-09-18 16:19:32 +02:00
Simen Bekkhus 8cc8daef4b
chore: prefer `.includes` over `indexOf` (#14524) 2023-09-14 15:13:41 +02:00
Simen Bekkhus eb6cdd27db
chore: ensure consistent indentation of template strings (#14522) 2023-09-14 12:33:54 +02:00
Simen Bekkhus b522b03aa3
chore: lint more packages with types (#14516) 2023-09-13 13:51:29 +02:00
Simen Bekkhus 176b229bbf
chore: use glob@10 in build scripts (#14512) 2023-09-11 17:18:15 +02:00
Simen Bekkhus aaf5315537
chore: upgrade @tsconfig/node14 (#14284) 2023-06-28 09:30:02 +02:00
Simen Bekkhus efe3eddae6
chore: upgrade rimraf (#14250) 2023-06-23 12:19:47 +02:00
Sebastian Silbermann 470d72ee74
test: Cleanup after verify-old-ts (#14055)
* test: Why is TS workflow failing

* bisecting

* Cleanup after yarn verify-old-ts

* Revert GH workflow debug
2023-04-05 12:13:44 +02:00
Paul O’Shannessy 6d2632adae
Update copyrights with Meta Platforms, restore original license in Jasmine fork (#13879) 2023-02-09 08:13:08 +01:00
Tianlan Zhou 423142cfaf
chore: Cleanup incorrect links in CHANGELOG.md (#13857) 2023-02-05 14:11:49 +01:00
Tom Mrazauskas ffe2352c78
chore: move `@jest/test-utils` reference (#13468) 2023-02-04 12:55:11 +01:00
Tom Mrazauskas 485d8fb1df
chore: use `glob` to select files in `buildTs` script (#13850) 2023-02-02 11:27:38 +01:00
Simen Bekkhus 2fb6f68f69
feat: use `os.availableParallelism` if available (#13738) 2023-01-06 17:41:30 +01:00
Tom Mrazauskas 7351afc7cf
chore: run type lint on `jest-watcher` (#13456) 2022-10-17 10:22:05 +02:00
Simen Bekkhus 8d57aa4bb8
chore: ts lint some more (#13452) 2022-10-16 20:28:27 +02:00
Tom Mrazauskas b1bd377ed1
chore: use `jest/unbound-method` rule in `lintTs` script (#13449) 2022-10-16 18:30:49 +02:00
Simen Bekkhus 1ba37a3fb6
chore: run type lint on @jest/test-sequencer (#13413) 2022-10-08 20:23:25 +02:00
Simen Bekkhus fb2f161574
chore: run type lint on @jest/console (#13403) 2022-10-08 19:54:33 +02:00
Simen Bekkhus 6dec46ec86
chore: type lint `jest-changed-files` (#13386) 2022-10-05 09:07:00 +02:00
Simen Bekkhus 5e1e105e64
chore: lint jest-transform with type info (#13378) 2022-10-04 01:14:02 +02:00