chore: bump prettier v3 and format all code (#12111)

* chore: bump prettier v3 and format all code

* chore: mjs config

* chore: revert

* chore: revert

* chore: update lock
This commit is contained in:
neverland
2023-07-22 14:14:14 +08:00
committed by GitHub
parent b601ca1e0b
commit 3dcc92a5c0
209 changed files with 565 additions and 543 deletions
+6 -6
View File
@@ -27,27 +27,27 @@ program
.description('Run unit tests through jest')
.option(
'--watch',
'Watch files for changes and rerun tests related to changed files'
'Watch files for changes and rerun tests related to changed files',
)
.option(
'--clearCache',
'Clears the configured Jest cache directory and then exits'
'Clears the configured Jest cache directory and then exits',
)
.option(
'--changedSince <changedSince>',
'Runs tests related to the changes since the provided branch or commit hash'
'Runs tests related to the changes since the provided branch or commit hash',
)
.option(
'--logHeapUsage',
'Logs the heap usage after every test. Useful to debug memory leaks'
'Logs the heap usage after every test. Useful to debug memory leaks',
)
.option(
'--runInBand',
'Run all tests serially in the current process, rather than creating a worker pool of child processes that run tests'
'Run all tests serially in the current process, rather than creating a worker pool of child processes that run tests',
)
.option(
'--updateSnapshot',
'Re-record every snapshot that fails during this test run'
'Re-record every snapshot that fails during this test run',
)
.option('--debug', 'Print debugging info about your Jest config')
.action(async (options) => {