Skip to content

Commit 547c43d

Browse files
authored
Merge pull request #11 from styfle/tests
Fix tests
2 parents 1d0cc41 + 21a1ade commit 547c43d

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "node dist/server.js",
99
"build": "webpack",
1010
"watch": "webpack --watch",
11-
"test": "tape test/**/*.js"
11+
"test": "tsc --outDir . --sourceMap false && tape tests/**/*.js"
1212
},
1313
"license": "MIT",
1414
"dependencies": {

tests/file-test.js

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

tests/props-test.js renamed to tests/props-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const test = require('tape');
2-
const { fetchProps } = require('../src/props');
1+
import * as test from 'tape';
2+
import { fetchProps } from '../src/props';
33

44
test('fetchProps', t => {
55
t.plan(5);

0 commit comments

Comments
 (0)