Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit ec30e52

Browse files
authored
Merge pull request #231 from cypress-io/10.0.0
Update to use 10.0.0
2 parents 3344c75 + 9483d4d commit ec30e52

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+13521
-57
lines changed

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ workflows:
1212
executor: node12-lts
1313
no-workspace: true
1414
post-steps:
15-
- run: npx cypress-expect run --config-file cypress-markdown.json --min-passing 26
15+
- run: npx cypress-expect run --config-file cypress-markdown.config.js --min-passing 26
1616
- run: npm run semantic-release

cypress-markdown.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const { defineConfig } = require('cypress')
2+
const mdPreprocessor = require('./src/markdown-preprocessor')
3+
4+
module.exports = defineConfig({
5+
e2e: {
6+
setupNodeEvents(on, config) {
7+
on('file:preprocessor', mdPreprocessor)
8+
},
9+
specPattern: 'cypress/e2e/**/*.md',
10+
$schema: 'https://on.cypress.io/cypress.schema.json'
11+
},
12+
})

cypress-markdown.json

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

cypress.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const { defineConfig } = require('cypress')
2+
const mdPreprocessor = require('./src/markdown-preprocessor')
3+
4+
module.exports = defineConfig({
5+
e2e: {
6+
setupNodeEvents(on, config) {
7+
on('file:preprocessor', mdPreprocessor)
8+
},
9+
specPattern: 'cypress/e2e/**/*.js',
10+
excludeSpecPattern: ['examples.js', '*-examples.js'],
11+
},
12+
})

cypress.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)