blueflag-test
Advanced tools
Weekly downloads
Readme
yarn add --dev blueflag-test
{
"scripts": {
"flow": "blueflag-test flow",
"flow-coverage": "blueflag-test flow-coverage",
"lint": "blueflag-test lint",
"test": "yarn jest",
"test-all": "yarn lint && yarn flow && yarn test && yarn flow-coverage"
}
}
blueflag-test pre loads jest with support for [enzyme] with the jest-enzyme package.
This loads enzyme-adapter-16 into each test file, gives you the shallow
, mount
and render
globals,
and extends expect with some handy enzyme matchers.
module.exports = {
preset 'blueflag-test',
...config overrides
}
You might need to shim some flow types
[libs]
./node_modules/blueflag-test/flow-typed-shims/immutable-3.8.x/
./node_modules/blueflag-test/flow-typed-shims/jest-enzyme-6.0.x/
[ignore]
<PROJECT_ROOT>/node_modules/immutable
FAQs
An oppinionated set of linting and testing tools
The npm package blueflag-test receives a total of 390 weekly downloads. As such, blueflag-test popularity was classified as not popular.
We found that blueflag-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.