feat(bin): add wrapper for bu

fixes #354
This commit is contained in:
Simon Chan 2023-07-07 18:30:01 +08:00
parent 721e14fa7a
commit 2abec924e8
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
12 changed files with 587 additions and 103 deletions

View file

@ -0,0 +1,14 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
preset: "ts-jest/presets/default-esm",
extensionsToTreatAsEsm: [".ts"],
transform: {
"^.+\\.tsx?$": [
"ts-jest",
{ tsconfig: "tsconfig.test.json", useESM: true },
],
},
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
};