chore: remove unused component testing config for cypress, allow jsx in cypress imports (#2455)
This commit is contained in:
parent
f4fa0bd25a
commit
1c57ec4df1
@ -1,19 +1,6 @@
|
|||||||
const { defineConfig } = require('cypress');
|
const { defineConfig } = require('cypress');
|
||||||
|
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
component: {
|
|
||||||
baseUrl: 'http://localhost:4200',
|
|
||||||
fileServerFolder: '.',
|
|
||||||
fixturesFolder: false,
|
|
||||||
specPattern: '**/*.cy.{js,jsx,ts,tsx}',
|
|
||||||
supportFile: './src/support/index.js',
|
|
||||||
video: false,
|
|
||||||
videosFolder: '../../dist/cypress/apps/trading-e2e/videos',
|
|
||||||
screenshotsFolder: '../../dist/cypress/apps/trading-e2e/screenshots',
|
|
||||||
chromeWebSecurity: false,
|
|
||||||
projectId: 'et4snf',
|
|
||||||
defaultCommandTimeout: 10000,
|
|
||||||
},
|
|
||||||
e2e: {
|
e2e: {
|
||||||
setupNodeEvents(on, config) {
|
setupNodeEvents(on, config) {
|
||||||
require('@cypress/grep/src/plugin')(config);
|
require('@cypress/grep/src/plugin')(config);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "preserve",
|
"jsx": "react-jsx",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
"outDir": "../../dist/out-tsc",
|
"outDir": "../../dist/out-tsc",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user