зеркало из https://github.com/mozilla/fxa.git
f47d120d71
Because: - ts-jest is consuming too much memory during unit test execution This commit: - Replace ts-jest with @swc/jest, which has better memory utilization - Replace Nx TSC build executor with Nx esbuild build executor, for better performance. - Reduce size of unit-test job instance size from large back to medium+ Closes #FXA-9879 |
||
---|---|---|
.. | ||
src | ||
.eslintrc.json | ||
.swcrc | ||
README.md | ||
jest.config.ts | ||
package.json | ||
project.json | ||
tsconfig.json | ||
tsconfig.lib.json | ||
tsconfig.spec.json |
README.md
shared-error
This library serves as the base errors used via inheritance throughout the nx integrated libraries and applications. Many third-party libraries use the verror
package, by extending our own version we can use instanceOf
checks to easily identify their errors from our own.
Building
Run nx build shared-error
to build the library.
Running unit tests
Run nx test shared-error
to execute the unit tests via Jest.