Files
flipper/headless-tests/package.json
John Knox 4d6b39ae42 Add test suite for headless
Summary:
Adds a JS test suite for running jest tests against flipper headless binaries. Replaces the jq-based bash script.

Simple sanity test included for all expected top level keys in output JSON.

Reviewed By: passy

Differential Revision: D15625723

fbshipit-source-id: 5ec8e764bcdbb99d9070de704e76a5cd9d8e5dc6
2019-06-07 08:29:45 -07:00

25 lines
487 B
JSON

{
"name": "headless-tests",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "jest",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand"
},
"jest": {
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"devDependencies": {
"jest": "^24.7.1"
},
"license": "MIT",
"dependencies": {
"@babel/preset-env": "^7.4.5",
"@babel/preset-flow": "^7.0.0",
"babel-jest": "^24.8.0",
"lodash.memoize": "^4.1.2"
}
}