Commit e0a531e5 authored by eddie's avatar eddie Committed by GitHub

fix: type error in cypress infra (#6700)

parent 8cef1ca0
...@@ -2,7 +2,7 @@ import 'cypress-hardhat/lib/browser' ...@@ -2,7 +2,7 @@ import 'cypress-hardhat/lib/browser'
import { Eip1193Bridge } from '@ethersproject/experimental/lib/eip1193-bridge' import { Eip1193Bridge } from '@ethersproject/experimental/lib/eip1193-bridge'
import { FeatureFlag } from '../../src/featureFlags/flags/featureFlags' import { FeatureFlag } from '../../src/featureFlags'
import { UserState } from '../../src/state/user/reducer' import { UserState } from '../../src/state/user/reducer'
import { CONNECTED_WALLET_USER_STATE } from '../utils/user-state' import { CONNECTED_WALLET_USER_STATE } from '../utils/user-state'
import { injected } from './ethereum' import { injected } from './ethereum'
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"strict": true, "strict": true,
"target": "ES5", "target": "ES5",
"tsBuildInfoFile": "../node_modules/.cache/tsbuildinfo/cypress", // avoid clobbering the build tsbuildinfo "tsBuildInfoFile": "../node_modules/.cache/tsbuildinfo/cypress", // avoid clobbering the build tsbuildinfo
"types": ["cypress", "node"] "types": ["cypress", "node"],
"jsx": "react"
}, },
"exclude": ["node_modules"], "exclude": ["node_modules"],
"include": ["**/*.ts"], "include": ["**/*.ts"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment