Skip to content

Commit 1a3388d

Browse files
authored
chore: update cypress
1 parent 33e772e commit 1a3388d

File tree

8 files changed

+5830
-5869
lines changed

8 files changed

+5830
-5869
lines changed

.github/workflows/ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- uses: actions/checkout@v2
2525
- name: Configure
2626
run: |
27-
npm config set scripts-prepend-node-path auto
2827
git config --global user.email uirouter@github.actions
2928
git config --global user.name uirouter_github_actions
3029
- name: Install Dependencies

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
scripts-prepend-node-path=true

cypress.config.ts

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import { defineConfig } from 'cypress'
2+
3+
export default defineConfig({
4+
video: false,
5+
e2e: {
6+
// We've imported your old cypress plugins here.
7+
// You may want to clean this up later by importing these.
8+
setupNodeEvents(on, config) {
9+
return require('./cypress/plugins/index.js')(on, config)
10+
},
11+
baseUrl: 'http://localhost:4000',
12+
},
13+
})

cypress.json

-4
This file was deleted.
File renamed without changes.
File renamed without changes.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
"@angular/cli": "^15.0.4",
4444
"@angular/compiler-cli": "15.0.4",
4545
"@types/jasmine": "~3.10.2",
46-
"@uirouter/cypress-runner": "^2.0.0",
46+
"@uirouter/cypress-runner": "^3.0.0",
4747
"fibers": "5.0.0",
4848
"html-webpack-plugin": "5.5.0",
4949
"shx": "^0.3.3",
5050
"tslint": "6.1.3",
5151
"typescript": "~4.8.3"
5252
}
53-
}
53+
}

0 commit comments

Comments
 (0)