diff --git a/package.json b/package.json index da11db0b..7b04f5c9 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/tests/types/test.ts b/tests/types/test.ts index fcaf5f11..6df4676a 100644 --- a/tests/types/test.ts +++ b/tests/types/test.ts @@ -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"];