mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-05 16:46:43 +02:00
Fix lint
This commit is contained in:
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'merge_group' && github.event.merge_group.base.sha || 'develop' }}
|
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'merge_group' && github.event.merge_group.base.sha || 'develop' }}
|
||||||
|
|
||||||
- name: Cypress run
|
- name: Cypress run
|
||||||
uses: cypress-io/github-action@v4
|
uses: cypress-io/github-action@v4
|
||||||
id: cypress-snapshot-gen
|
id: cypress-snapshot-gen
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
browser: chrome
|
browser: chrome
|
||||||
spec: |
|
spec: |
|
||||||
cypress/integration/rendering/flowchart-v2.spec.js
|
cypress/integration/rendering/flowchart-v2.spec.js
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: cache
|
needs: cache
|
||||||
|
@@ -4,7 +4,6 @@ const { defineConfig } = require('cypress');
|
|||||||
const { addMatchImageSnapshotPlugin } = require('cypress-image-snapshot/plugin');
|
const { addMatchImageSnapshotPlugin } = require('cypress-image-snapshot/plugin');
|
||||||
const coverage = require('@cypress/code-coverage/task');
|
const coverage = require('@cypress/code-coverage/task');
|
||||||
|
|
||||||
|
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
projectId: 'n2sma2',
|
projectId: 'n2sma2',
|
||||||
viewportWidth: 1440,
|
viewportWidth: 1440,
|
||||||
|
Reference in New Issue
Block a user