Browse Source

add jest

fix-broken-scrape
Jørgen Lien Sellæg 6 years ago
parent
commit
1c180d15dc
  1. 12
      babel.config.js
  2. 10
      package.json
  3. 4424
      yarn.lock

12
babel.config.js

@ -0,0 +1,12 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
],
};

10
package.json

@ -5,5 +5,15 @@
"minimist": "^1.2.5",
"puppeteer": "^3.0.2",
"ramda": "^0.27.0"
},
"devDependencies": {
"@babel/core": "^7.10.1",
"@babel/preset-env": "^7.10.1",
"babel-jest": "^26.0.1",
"jest": "^26.0.1"
},
"scripts": {
"test": "jest",
"watch": "jest --watch"
}
}

4424
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save