Skip to content

Commit a9cebe5

Browse files
committed
Resolve #29 & Add tests
1 parent d2afb8e commit a9cebe5

File tree

7 files changed

+6495
-2454
lines changed

7 files changed

+6495
-2454
lines changed

demos/src/Components/Demo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from "react";
22
import { hot } from "react-hot-loader/root";
33

4-
import PatternLock from "../../../lib/index.js";
4+
import PatternLock from "../../../src/index";
55

66
class Demo extends React.Component {
77
state = {

demos/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"jsx" : "react"
99
},
1010
"include": [
11-
"./demos/src/app.tsx"
11+
"./src/app.tsx"
1212
]
1313
}

jest.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
};

0 commit comments

Comments
 (0)