Skip to content

Commit

Permalink
feat: add jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailDeng authored and AbigailDeng committed Jun 21, 2024
1 parent bc3de0d commit 1c290a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| Statements | Branches | Functions | Lines |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
| ![Statements](https://img.shields.io/badge/statements-97.57%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-95.32%25-brightgreen.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-98.59%25-brightgreen.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-97.58%25-brightgreen.svg?style=flat) |
| ![Statements](https://img.shields.io/badge/statements-97.78%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-95.76%25-brightgreen.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-98.59%25-brightgreen.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-97.8%25-brightgreen.svg?style=flat) |


## 1. Introduction
Expand Down
1 change: 1 addition & 0 deletions jest.browser.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ module.exports = {
'**/test/unit/util/httpProvider.browser-test.js',
// "**/?(*.)+(spec|test).[tj]s?(x)"
],
testTimeout: 20000,

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
Expand Down
2 changes: 2 additions & 0 deletions jest.node.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ module.exports = {
testMatch: [
'**/test/unit/**/?(*.)+(test).[jt]s?(x)',
'**/test/unit/util/httpProvider.node-test.js',
'**/test/unit/util/httpProvider.fetch.node-test.js',
],
testTimeout: 20000,

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
Expand Down

0 comments on commit 1c290a4

Please sign in to comment.