Skip to content

Commit

Permalink
jest
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladrillo committed Apr 27, 2022
1 parent 5d42054 commit 93d0068
Show file tree
Hide file tree
Showing 3 changed files with 979 additions and 8 deletions.
15 changes: 8 additions & 7 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
// The directory where Jest should store its cached dependency information
// cacheDirectory: "/private/var/folders/mq/wc13nlwj4gdgcyshdy5j1hgr0000gn/T/jest_dx",

// Automatically clear mock calls, instances and results before every test
// Automatically clear mock calls, instances, contexts and results before every test
// clearMocks: false,

// Indicates whether the coverage information should be collected while executing the test
Expand Down Expand Up @@ -50,6 +50,11 @@ module.exports = {
// Make calling deprecated APIs throw helpful error messages
// errorOnDeprecated: false,

// The default configuration for fake timers
// fakeTimers: {
// "enableGlobally": false
// },

// Force coverage collection from ignored files using an array of glob patterns
// forceCoverageMatch: [],

Expand All @@ -73,6 +78,8 @@ module.exports = {
// An array of file extensions your modules use
// moduleFileExtensions: [
// "js",
// "mjs",
// "cjs",
// "jsx",
// "ts",
// "tsx",
Expand Down Expand Up @@ -167,12 +174,6 @@ module.exports = {
// This option allows use of a custom test runner
// testRunner: "jest-circus/runner",

// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
// testURL: "http://localhost",

// Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
// timers: "real",

// A map from regular expressions to paths to transformers
// transform: undefined,

Expand Down
Loading

0 comments on commit 93d0068

Please sign in to comment.