Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit bb85ded

Browse files
committed
disable old style component testing
1 parent 3f7def2 commit bb85ded

File tree

4 files changed

+19
-28
lines changed

4 files changed

+19
-28
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cache:
1414

1515
# this job installs NPM dependencies and Cypress
1616
test:
17-
image: cypress/base:12.19.0
17+
image: cypress/base:14
1818
script:
1919
- yarn install --frozen-lockfile
2020
# check Cypress binary path and cached versions

circle.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ workflows:
3636
# https://coveralls.io/github/cypress-io/cypress-example-todomvc-redux
3737
- run: npm run coveralls
3838

39-
- cypress/run:
40-
name: component tests
41-
executor: cypress/base-14
42-
requires:
43-
- Install
44-
install-command: echo 'Nothing to install in this job'
45-
command: npx cypress run --config-file cypress.config.unit.js
46-
no-workspace: true
39+
# - cypress/run:
40+
# name: component tests
41+
# executor: cypress/base-14
42+
# requires:
43+
# - Install
44+
# install-command: echo 'Nothing to install in this job'
45+
# command: npx cypress run --config-file cypress.config.unit.js
46+
# no-workspace: true
4747

4848
- cypress/run:
4949
name: smoke tests

cypress.config.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
const { defineConfig } = require('cypress')
1+
const { defineConfig } = require("cypress");
22

33
module.exports = defineConfig({
44
env: {
5-
'cypress-plugin-snapshots': {},
5+
"cypress-plugin-snapshots": {},
66
},
7+
78
e2e: {
89
// We've imported your old cypress plugins here.
910
// You may want to clean this up later by importing these.
1011
setupNodeEvents(on, config) {
11-
require('@cypress/code-coverage/task')(on, config)
12+
require("@cypress/code-coverage/task")(on, config);
13+
14+
on("file:preprocessor", require("@cypress/code-coverage/use-babelrc"));
1215

13-
on('file:preprocessor', require('@cypress/code-coverage/use-babelrc'))
14-
15-
return config
16+
return config;
1617
},
17-
baseUrl: 'http://localhost:1234',
18-
excludeSpecPattern: ['**/*.snap', '**/__snapshot__/*', '**/smoke.js'],
18+
baseUrl: "http://localhost:1234",
19+
excludeSpecPattern: ["**/*.snap", "**/__snapshot__/*", "**/smoke.js"],
1920
},
20-
})
21+
});

cypress.config.unit.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)