Skip to content

Commit

Permalink
Merge branch 'ava'
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver committed Jul 16, 2023
2 parents 97ae76e + b8fe497 commit d9e5b87
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .c8rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"functions": 100,
"statements": 100,
"branches": 100,
"instrument": true,
"extension": [".ts", ".tsx"],
"include": ["src/**/*"],
"exclude": ["src/bin.tsx", "src/network.ts"],
"src": "src",
"include": ["target/src/**/*"],
"exclude": ["target/src/bin.js", "target/src/network.js"],
"reporter": ["lcov", "text-summary", "json"],
"check-coverage": true,
"reportDir": "./target/coverage",
Expand Down
10 changes: 8 additions & 2 deletions ava.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
export default {
files: ['./test/unit/**/*.test.{ts,tsx}'],
extensions: ['ts', 'tsx'],
require: ['ts-node/register/transpile-only'],
typescript: {
extensions: ['ts', 'tsx'],
rewritePaths: {
'src/': 'target/src/',
'test/': 'target/test/',
},
compile: false,
},
};
180 changes: 180 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"zod": "3.21.4"
},
"devDependencies": {
"@ava/typescript": "4.1.0",
"@swc/core": "1.3.69",
"@swc/helpers": "0.5.1",
"@types/common-tags": "1.8.1",
Expand Down

0 comments on commit d9e5b87

Please sign in to comment.