Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
graphql-testgen
Advanced tools
Based on your schema.
🚧 Early development stage
graphql-testgen gen
flags | arguments | alias | description |
---|---|---|---|
--config | path | -c | Path to config file an example is displayed at Configuration usage: -c __tests__/api/testgen.js default: ./testgen.js |
--schema | -s | path to schema file or url path to schema usage: -s __tests__/api/schema.graphql default: http://localhost:3000/graphql | |
--output | -o | path to output usage: -o __tests__/generated/ default: __tests__/generated/ | |
--mocks | -m | path to mocks usage: -m __test__/mocks default: __tests__/api/mocks | |
--append | -a | - | append to existing files usage: -a default: false |
testgen.js
module.exports = {
schemaPath: 'http://localhost:3000/graphql',
outputDir: '__tests__/generated/',
mockDir: '__tests__/api/mocks/',
depth: 4,
}
FAQs
Based on your schema.
The npm package graphql-testgen receives a total of 0 weekly downloads. As such, graphql-testgen popularity was classified as not popular.
We found that graphql-testgen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.