[error-utils] Create @vercel/error-utils package (#8828)

While working on #8742 i found some useful error checking code buried in
the CLI. This PR adds a new private package `@vercel/errors` that moves
those helpful utilities into its own package so it can be used
throughout the monorepo.
This commit is contained in:
Ethan Arrowood
2022-11-02 13:18:00 -06:00
committed by GitHub
parent bcb8d4f812
commit 49f453742b
34 changed files with 956 additions and 29 deletions

View File

@@ -0,0 +1,13 @@
/** @type {import('@ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
};