mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
Collect coverage from all files (#5652)
This commit is contained in:
parent
a36064383e
commit
21017ff137
@ -9,6 +9,7 @@ const config = {
|
||||
testEnvironment: __dirname + '/shared/dev/jest-environment.js',
|
||||
|
||||
collectCoverage: !!process.env.CI,
|
||||
collectCoverageFrom: ['<rootDir>/src/**/*.{ts,tsx}'],
|
||||
coverageDirectory: '<rootDir>/coverage',
|
||||
coveragePathIgnorePatterns: [/\.test\.tsx?$/.source],
|
||||
roots: ['<rootDir>/src'],
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
"graphql": "gulp graphQLTypes",
|
||||
"graphql-lint": "graphql-schema-linter --old-implements-syntax --comment-descriptions cmd/frontend/graphqlbackend/schema.graphql",
|
||||
"prepublish": "gulp generate",
|
||||
"test": "jest --testPathIgnorePatterns e2e",
|
||||
"test": "jest --testPathIgnorePatterns e2e regression",
|
||||
"storybook": "start-storybook -p 9001 -c .storybook",
|
||||
"storybook:build": "build-storybook -c .storybook",
|
||||
"storybook:smoke-test": "yarn run storybook --smoke-test",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user