Skip to content

Commit

Permalink
chore: rename unit test script (qlik-oss#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbt1 authored May 11, 2022
1 parent 49b16bb commit 4a4e2a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
at: ~/project
- run:
name: Unit tests
command: yarn run test
command: yarn run test:unit

rendering-tests:
<<: *defaults
Expand Down
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
// collectCoverageFrom: undefined,

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

// An array of regexp pattern strings used to skip coverage collection
// coveragePathIgnorePatterns: [
Expand Down Expand Up @@ -137,7 +137,7 @@ module.exports = {
// snapshotSerializers: [],

// The test environment that will be used for testing
testEnvironment: "jsdom",
testEnvironment: 'jsdom',

// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},
Expand All @@ -146,7 +146,7 @@ module.exports = {
// testLocationInResults: false,

// The glob patterns Jest uses to detect test files
testMatch: ["**/src/**/__tests__/*.test.ts?(x)"],
testMatch: ['**/src/**/__tests__/*.test.ts?(x)'],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"start": "nebula serve --type sn-pivot-table",
"sense": "nebula sense",
"types:check": "tsc --noEmit",
"test": "jest",
"test:unit": "jest",
"test:rendering": "playwright test",
"test:local:rendering": "./test/rendering/scripts/run-rendering-test.sh",
"test:local:update:screenshots": "./test/rendering/scripts/update-screenshots.sh",
Expand Down

0 comments on commit 4a4e2a9

Please sign in to comment.