-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjest.config.cjs
29 lines (26 loc) · 1.45 KB
/
jest.config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
--------------------------------------------------------------------------
TW Elements is an open-source UI kit of advanced components for TailwindCSS.
Copyright © 2023 MDBootstrap.com
Unless a custom, individually assigned license has been granted, this program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
In addition, a custom license may be available upon request, subject to the terms and conditions of that license. Please contact [email protected] for more information on obtaining a custom license.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
If you would like to purchase a COMMERCIAL, non-AGPL license for TWE, please check out our pricing: https://tw-elements.com/pro/
--------------------------------------------------------------------------
*/
module.exports = {
verbose: true,
collectCoverage: true,
coveragePathIgnorePatterns: [
"/node_modules/",
"/src/js/autoinit",
"/src/js/base-component.js",
"/src/js/util/*",
"/src/js/dom/*",
"/test",
],
coverageDirectory: "test/coverage",
transform: {
"\\.[jt]sx?$": "babel-jest",
},
};