-
Notifications
You must be signed in to change notification settings - Fork 1
TestFramework
David Liu edited this page Apr 5, 2023
·
10 revisions
- No configuration required
- Smart align to nodejs (esm)
-
ts-mochais not recognized by Webstorm - No simple way to configure for mocha test framework for Typescript
- default test folder:
__tests__. see in https://jestjs.io/docs/configuration#testregex-string--arraystring - [ECMAScript Modules is disabled by default](see https://jestjs.io/docs/ecmascript-modules)
- under Preview (06-Apr-2023)
- It takes care both nodejs and typescript
- It is widely used in Meta
- Replace
assert.equalwithassert.strictEqual