Skip to content

Commit

Permalink
fix: go back to tap because japa doesn't seem active
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati committed Jun 6, 2024
1 parent e512c4b commit 19034a0
Show file tree
Hide file tree
Showing 12 changed files with 2,453 additions and 1,930 deletions.
8 changes: 0 additions & 8 deletions .c8rc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@ jobs:
with:
debug: true
coverageLocations: |
${{github.workspace}}/coverage/lcov.info:lcov
${{github.workspace}}/.tap/report/lcov.info:lcov
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ node_modules/
coverage/
test.sh
test.sh.sha256
.tap/
.tsimp/
**/*.js

19 changes: 0 additions & 19 deletions bin/test.ts

This file was deleted.

2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.1/schema.json",
"files": {
"include": ["./src/**/*.ts", "bin/test.ts", "./test/**/*.ts"],
"include": ["./src/**/*.ts", "./test/**/*.ts"],
"ignore": ["./test/fixtures/**/*"]
},
"organizeImports": {
Expand Down
23 changes: 16 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
"description": "Publish code coverage to Code Climate",
"type": "module",
"main": "lib/main.js",
"packageManager": "pnpm@9.1.4",
"packageManager": "pnpm@9.2.0",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"test": "node --import=tsimp/import --enable-source-maps bin/test.ts",
"coverage": "c8 pnpm run test",
"coverage:html": "c8 --reporter=html pnpm run test",
"test": "cross-env NODE_OPTIONS=\"--no-warnings\" tap run --disable-coverage",
"test:only": "pnpm run test --only",
"coverage": "pnpm run test --no-disable-coverage --allow-incomplete-coverage --coverage-report=lcovonly",
"coverage:html": "pnpm run coverage --coverage-report=html",
"biome:ci": "biome ci",
"format:check": "biome format",
"format": "biome format --fix",
Expand Down Expand Up @@ -41,12 +42,13 @@
},
"devDependencies": {
"@biomejs/biome": "1.8.0",
"@japa/assert": "3.0.0",
"@japa/runner": "3.1.4",
"@openpgp/web-stream-tools": "0.1.1",
"@tapjs/core": "2.1.3",
"@tapjs/test": "2.2.1",
"@tapjs/tsx": "1.1.29",
"@tsconfig/node20": "20.1.4",
"@tsconfig/strictest": "2.0.5",
"@types/node": "20.14.1",
"@types/node": "20.14.2",
"@types/node-fetch": "2.6.11",
"@types/sinon": "17.0.3",
"@types/which": "3.0.4",
Expand All @@ -55,8 +57,15 @@
"into-stream": "8.0.1",
"nock": "13.5.4",
"sinon": "18.0.0",
"tap": "19.2.1",
"tsimp": "2.0.11",
"typescript": "5.4.5",
"which": "4.0.0"
},
"tap": {
"plugin": [
"!@tapjs/typescript",
"@tapjs/tsx"
]
}
}
Loading

0 comments on commit 19034a0

Please sign in to comment.