Skip to content

Commit

Permalink
adjust tap run command
Browse files Browse the repository at this point in the history
  • Loading branch information
motdotla committed Dec 3, 2024
1 parent 8b75164 commit 50ba2c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"lint-readme": "standard-markdown",
"pretest": "npm run lint && npm run dts-check",
"test": "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
"test:coverage": "tap --coverage-report=lcov",
"test-coverage2": "tap run --show-full-coverage --timeout=60000",
"test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=lcov",
"prerelease": "npm test",
"release": "standard-version"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ parse("test");
const parsed = parse("NODE_ENV=production\nDB_HOST=a.b.c");
const dbHost: string = parsed["DB_HOST"];

const parsedFromBuffer = parse(new Buffer("JUSTICE=league\n"));
const parsedFromBuffer = parse(Buffer.from("JUSTICE=league\n"));
const justice: string = parsedFromBuffer["JUSTICE"];

0 comments on commit 50ba2c2

Please sign in to comment.