Skip to content

Commit 191bda7

Browse files
committed
remove test/types/*.d.ts
1 parent f60f08f commit 191bda7

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"prepare": "tsc -p tsconfig.production.es2019.json && webpack",
1010
"prepublishOnly": "TEST_DIST=true npm run test",
1111
"clean": "rm -rf build dist dist.es5",
12-
"test": "TS_NODE_FILES=true mocha 'test/**/*.test.ts'",
13-
"test:cover": "TS_NODE_FILES=true npx nyc mocha 'test/**/*.test.ts'",
12+
"test": "mocha 'test/**/*.test.ts'",
13+
"test:cover": "npx nyc mocha 'test/**/*.test.ts'",
1414
"lint": "eslint --ext .ts src test",
1515
"lint:fix": "eslint --fix --ext .ts src test && npm run format",
1616
"format": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",

test/codec-float.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import * as ieee754 from "ieee754";
21
import assert from "assert";
32
import { decode } from "../src";
43

4+
const ieee754 = require("ieee754");
5+
56
const FLOAT32_TYPE = 0xca;
67
const FLOAT64_TYPE = 0xcb;
78

test/types/ieee754.d.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)