Skip to content

Commit

Permalink
fix: added git ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi-bams committed Feb 22, 2024
1 parent 280d690 commit 10c4686
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/testSphinxBridge/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ export function getCurrentUser(): RelayUser | null {
if ((window as any).CYPRESS_USER) {
const user = (window as any).CYPRESS_USER

const newNodes = [...nodes]

let userNode

for (let i = 0; i < nodes.length; i += 1) {
if (newNodes[i].alias === user) {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (nodes[i].alias === user) {
userNode = nodes[i]

break
Expand Down

0 comments on commit 10c4686

Please sign in to comment.