Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add initial test stub
  • Loading branch information
Thomas Hughes committed Sep 20, 2019
1 parent 3d8e310 commit 97fca7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -4,8 +4,8 @@
"description": "Generate a release",
"main": "dist/index.js",
"scripts": {
"lint": "eslint 'src/**.js' 'test/**.js' --fix",
"test": "eslint 'src/**.js' 'test/**.js' --fix && jest",
"lint": "eslint 'src/**.js' 'tests/**.js' --fix",
"test": "eslint 'src/**.js' 'tests/**.js' --fix && jest",
"build": "ncc build src/main.js",
"precommit": "npm run build && git add dist/"
},
Expand Down
Empty file removed test/main.test.js
Empty file.
2 changes: 2 additions & 0 deletions tests/main.test.js
@@ -0,0 +1,2 @@
/* eslint-disable no-undef */
test('that tests work', () => {});

0 comments on commit 97fca7f

Please sign in to comment.