Skip to content

Commit

Permalink
Merge pull request #96 from SumoLogic/genia-jest
Browse files Browse the repository at this point in the history
Use Jest instead of Mocha+Chai for tests
  • Loading branch information
genia123 authored Jul 24, 2020
2 parents 199f588 + 0c7f43f commit 295b9da
Show file tree
Hide file tree
Showing 6 changed files with 8,024 additions and 3,113 deletions.
56 changes: 22 additions & 34 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,36 +1,24 @@
{
"extends": ["eslint:recommended", "plugin:node/recommended"],
"env": {
"es6": true,
"node": true,
"mocha": true
},
"globals": {
"expect": true,
"sinon": true
},
"rules": {
"indent": [
2,
4
],
"comma-dangle": [
2,
"never"
],
"no-console": [
2,
{
"allow": [ "error" ]
}
],
"no-unused-expressions": [0],
"strict": [0],
"node/exports-style": ["error", "module.exports"],
"node/prefer-global/buffer": ["error", "always"],
"node/prefer-global/console": ["error", "always"],
"node/prefer-global/process": ["error", "always"],
"node/prefer-global/url-search-params": ["error", "always"],
"node/prefer-global/url": ["error", "always"]
}
"extends": ["eslint:recommended", "plugin:node/recommended"],
"env": {
"es6": true,
"node": true,
"mocha": true
},
"globals": {
"expect": true,
"sinon": true
},
"rules": {
"no-undef": [0],
"no-console": [0],
"no-unused-expressions": [0],
"strict": [0],
"node/exports-style": ["error", "module.exports"],
"node/prefer-global/buffer": ["error", "always"],
"node/prefer-global/console": ["error", "always"],
"node/prefer-global/process": ["error", "always"],
"node/prefer-global/url-search-params": ["error", "always"],
"node/prefer-global/url": ["error", "always"]
}
}
Loading

0 comments on commit 295b9da

Please sign in to comment.