Change locale test in _getWordCount unit tests to fix CI error #2321
ci.yml
on: pull_request
Install packages
20s
Run Vitest in codemod/zod-to-valibot
22s
Publish library via pkg.pr.new
31s
Run Prettier in library
43s
Run ESLint in library
55s
Run Vitest in library
40s
Run Prettier in packages/to-json-schema
23s
Run ESLint in packages/to-json-schema
29s
Run Vitest in packages/to-json-schema
21s
Run Prettier in website
43s
Run ESLint in website
27s
Annotations
2 errors
Run Vitest in library
Process completed with exit code 1.
|
src/utils/_getWordCount/_getWordCount.test.ts > _getWordCount > should take locale into account:
library/src/utils/_getWordCount/_getWordCount.test.ts#L15
AssertionError: expected 2 to be 4 // Object.is equality
- Expected
+ Received
- 4
+ 2
❯ src/utils/_getWordCount/_getWordCount.test.ts:15:52
|