Skip to content

Commit

Permalink
button compress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoa committed Dec 21, 2022
1 parent bc22cab commit 598cf72
Show file tree
Hide file tree
Showing 8 changed files with 8,591 additions and 1,776 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}]
}
},
"ignorePatterns": ["src/**/*.test.js"]
}
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
testEnvironment: 'jsdom',
testEnvironmentOptions: {
customExportConditions: ['node']
},
setupFilesAfterEnv: ["./jest.setup.js"],
transformIgnorePatterns: ["/node_modules/(?!lit-html).+\\.js"],
}
4 changes: 4 additions & 0 deletions jest.setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// import "@testing-library/jest-dom";
const fetchMock = require('jest-fetch-mock')

fetchMock.enableMocks();
Loading

0 comments on commit 598cf72

Please sign in to comment.