mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
chore: Add cypress to codebase
This commit is contained in:
parent
05f52cfbf8
commit
a4c68a4055
36 changed files with 3623 additions and 544 deletions
14
cypress/plugins/index.js
Normal file
14
cypress/plugins/index.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const { cypressEsbuildPreprocessor } = require('cypress-esbuild-preprocessor');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = (on, config) => {
|
||||
on(
|
||||
'file:preprocessor',
|
||||
cypressEsbuildPreprocessor({
|
||||
esbuildOptions: {
|
||||
// optional tsconfig for typescript support and path mapping (see https://github.com/evanw/esbuild for all options)
|
||||
tsconfig: path.resolve(__dirname, '../../tsconfig.json'),
|
||||
},
|
||||
}),
|
||||
);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue