Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
version: 2.1
orbs:
azure-cli: circleci/azure-cli@1.1.0
codecov: codecov/codecov@1.0.2

jobs:
build:
docker:
Expand Down Expand Up @@ -48,13 +46,6 @@ jobs:
name: test
command: make ci-test

- store_artifacts:
path: coverage

- codecov/upload:
file: coverage/*
token: fd485295-0e96-47ad-a3fc-ef9d5ee0332b

lint:
docker:
- image: circleci/node:12.10
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test:
yarn jest

ci-test:
yarn jest --maxWorkers=2 --collectCoverage=true
yarn jest --maxWorkers=2

storybook:
NODE_ENV=storybook yarn build-storybook
Expand Down
26 changes: 0 additions & 26 deletions codecov.yml

This file was deleted.

24 changes: 5 additions & 19 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,15 @@ module.exports = {
// collectCoverage: false,

// An array of glob patterns indicating a set of files for which coverage information should be collected
collectCoverageFrom: ['./packages/**/*\.{ts,tsx,js,jsx}'],
// collectCoverageFrom: null,

// The directory where Jest should output its coverage files
// coverageDirectory: null,

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: [
'/index(\.ts|\.tsx|\.js)',
'\.d\.ts',
'/types\.ts',
'/stories/',
'/@react-types/',
'/@spectrum-icons/(ui|workflow|color)/',
'/dev/',
'/node_modules/'
],
// coveragePathIgnorePatterns: [
// "/node_modules/"
// ],

// A list of reporter names that Jest uses when writing coverage reports
// coverageReporters: [
Expand All @@ -67,14 +60,7 @@ module.exports = {
// ],

// An object that configures minimum threshold enforcement for coverage results
// coverageThreshold: {
// "global": {
// "branches": 80,
// "functions": 80,
// "lines": 80,
// "statements": -10
// }
// },
// coverageThreshold: null,

// A path to a custom dependency extractor
// dependencyExtractor: null,
Expand Down