We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d0cc41 + 21a1ade commit 547c43dCopy full SHA for 547c43d
package.json
@@ -8,7 +8,7 @@
8
"start": "node dist/server.js",
9
"build": "webpack",
10
"watch": "webpack --watch",
11
- "test": "tape test/**/*.js"
+ "test": "tsc --outDir . --sourceMap false && tape tests/**/*.js"
12
},
13
"license": "MIT",
14
"dependencies": {
tests/file-test.js
tests/props-test.js renamed to tests/props-test.ts
@@ -1,5 +1,5 @@
1
-const test = require('tape');
2
-const { fetchProps } = require('../src/props');
+import * as test from 'tape';
+import { fetchProps } from '../src/props';
3
4
test('fetchProps', t => {
5
t.plan(5);
0 commit comments