Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2d3b2fe

Browse files
committedJul 11, 2024·
2 parents c6d6a37 + f89ed6b commit 2d3b2fe

File tree

9 files changed

+2843
-21153
lines changed

9 files changed

+2843
-21153
lines changed
 

‎.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
lint:
1010
description: Checks the code formatting
1111
docker:
12-
- image: cimg/node:21.6.1
12+
- image: cimg/node:22.1.0
1313
environment:
1414
# we don't need Cypress to check code style
1515
CYPRESS_INSTALL_BINARY: '0'
@@ -40,11 +40,11 @@ jobs:
4040
steps:
4141
- checkout
4242
- run:
43-
name: Install node 16
44-
command: nvm install 16.16.0
43+
name: Install node 20
44+
command: nvm install 20.12.1
4545
- run:
46-
name: Use node 16
47-
command: nvm use 16.16.0
46+
name: Use node 20
47+
command: nvm use 20.12.1
4848
- run:
4949
name: Install deps for code coverage
5050
command: npm ci
@@ -71,7 +71,7 @@ jobs:
7171
publish:
7272
description: Publishes the new version of the plugin to NPM
7373
docker:
74-
- image: cimg/node:21.6.1
74+
- image: cimg/node:22.1.0
7575
environment:
7676
# we don't need Cypress to do the release
7777
CYPRESS_INSTALL_BINARY: '0'

‎package-lock.json

Lines changed: 2530 additions & 20852 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@
7474
"express": "^4.18.2",
7575
"koa": "2.13.4",
7676
"lodash": "4.17.21",
77-
"markdown-link-check": "3.11.1",
77+
"markdown-link-check": "3.12.2",
7878
"next": "^13.0.0",
7979
"parcel-bundler": "1.12.5",
8080
"prettier": "3.2.5",
81-
"rimraf": "5.0.5",
81+
"rimraf": "5.0.8",
8282
"semantic-release": "17.4.7",
8383
"serve": "14.2.1",
84-
"start-server-and-test": "2.0.2",
84+
"start-server-and-test": "2.0.4",
8585
"typescript": "^5.4.2",
8686
"webpack": "^5.68.0",
8787
"webpack-cli": "^5.1.4"

‎test-apps/cra-e2e-and-ct/package-lock.json

Lines changed: 39 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test-apps/exclude-files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"excludeAfterRemap": true
1717
},
1818
"devDependencies": {
19-
"@babel/core": "7.23.7"
19+
"@babel/core": "7.24.7"
2020
}
2121
}

‎test-apps/frontend/.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"plugins": ["istanbul"]
2+
"plugins": ["istanbul"],
3+
"ignore": ["**/*.cy.js"]
34
}

‎test-apps/frontend/cypress.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ module.exports = defineConfig({
66
setupNodeEvents(on, config) {
77
return require('./cypress/plugins/index.js')(on, config)
88
},
9+
hosts: {
10+
'foobar.com': '127.0.0.1',
11+
},
912
baseUrl: 'http://localhost:1234',
1013
env: {
1114
codeCoverage: {

‎test-apps/frontend/cypress/e2e/spec.cy.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ context('Page test', () => {
2525
cy.contains('h2', 'About')
2626
cy.contains('Est. 2019')
2727
})
28+
29+
it('loads cross origin page using cy.origin', () => {
30+
cy.origin('http://foobar.com:1234', () => {
31+
cy.visit('/')
32+
})
33+
})
34+
35+
it('loads cross origin page without cy.origin', () => {
36+
cy.visit('http://foobar.com:1234')
37+
})
2838
})
2939

3040
context('Unit tests', () => {

‎test-apps/same-folder/package-lock.json

Lines changed: 249 additions & 239 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.