fix(Field): label-align top works well with label-width (#11684)

* fix(Field): label-align top works well with label-width

* fix(Field): update snapshot

* fix(Field): break long label when `labelAlign="top"`
This commit is contained in:
Jungzl
2023-03-26 11:39:45 +08:00
committed by GitHub
parent 07c0e3e9da
commit 1c1e2e3b27
9 changed files with 131 additions and 18 deletions

View File

@@ -45,6 +45,10 @@ program
'--runInBand',
'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'
)
.option('--debug', 'Print debugging info about your Jest config')
.action(async (options) => {
const { test } = await import('./commands/jest.js');

View File

@@ -24,6 +24,7 @@ export function test(command: Config.Argv) {
clearCache: command.clearCache,
changedSince: command.changedSince,
logHeapUsage: command.logHeapUsage,
updateSnapshot: command.updateSnapshot,
// make jest tests faster
// see: https://ivantanev.com/make-jest-faster/
maxWorkers: '50%',