Skip to content

Commit

Permalink
chore: properly import expect from chai in cypress-base/cypress/suppo…
Browse files Browse the repository at this point in the history
…rt/e2e.ts

While working on #31590, I noticed that `expect` was not properly imported. It was using it from global for some unknown reason.
  • Loading branch information
mistercrunch committed Jan 14, 2025
1 parent ef57318 commit cf56599
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions superset-frontend/cypress-base/cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import '@cypress/code-coverage/support';
import '@applitools/eyes-cypress/commands';
import failOnConsoleError from 'cypress-fail-on-console-error';
import { expect } from 'chai';

/* eslint-disable @typescript-eslint/no-explicit-any */

Expand Down
5 changes: 3 additions & 2 deletions superset-frontend/cypress-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
"@cypress/code-coverage": "^3.10.4",
"@superset-ui/core": "^2.1.0",
"brace": "^0.11.1",
"chai": "^4.5.0",
"cy-verify-downloads": "^0.2.5",
"cypress-fail-on-console-error": "^4.0.3",
"nanoid": "^5.0.9",
"querystringify": "^2.2.0",
"react-dom": "^16.13.0",
"rison": "^0.1.1",
"nanoid": "^5.0.9"
"rison": "^0.1.1"
},
"devDependencies": {
"@types/querystringify": "^2.0.0",
Expand Down

0 comments on commit cf56599

Please sign in to comment.