Skip to content

Commit

Permalink
Surely, you Jest (#38)
Browse files Browse the repository at this point in the history
* Add Jest and reorg files

* Fix Travis config

* Add step names
  • Loading branch information
bagelbits committed Jan 8, 2020
1 parent 70df259 commit 39e8ab4
Show file tree
Hide file tree
Showing 77 changed files with 4,750 additions and 164 deletions.
7 changes: 4 additions & 3 deletions .eslintrc.json
Expand Up @@ -5,11 +5,12 @@
"es6": true,
"jquery": true
},
"extends": ["eslint:recommended", "prettier"],
"plugins": ["prettier"],
"extends": ["eslint:recommended", "prettier", "plugin:jest/recommended"],
"plugins": ["prettier", "jest"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
"SharedArrayBuffer": "readonly",
"jest/globals": true
},
"parserOptions": {
"ecmaVersion": 2018
Expand Down
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -4,9 +4,13 @@ node_js:

branches:
only:
- master
- master

jobs:
include:
- stage: Test
name: 'ESLint'
script: npm run lint
- # stage name not required, will continue to use `Test`
name: 'Jest Testing'
script: npm test

0 comments on commit 39e8ab4

Please sign in to comment.