Skip to content

Commit

Permalink
fix: import node from node-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
jamil314 committed Dec 20, 2024
1 parent fa90c58 commit 14d66a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions e2e/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
} from './constants'
import { format, parseISO } from 'date-fns'
import { isArray, random } from 'lodash'
import fetch from 'node-fetch'

export async function login(page: Page, username: string, password: string) {
const token = await getToken(username, password)
Expand Down
1 change: 1 addition & 0 deletions e2e/testcases/birth/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
} from './queries'
import { random } from 'lodash'
import { generateRandomSuffix } from '../../helpers'
import fetch from 'node-fetch'

export type BirthDetails = {
informant: {
Expand Down
1 change: 1 addition & 0 deletions e2e/testcases/death/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
GET_DEATH_REGISTRATION_FOR_REVIEW
} from './queries'
import { random } from 'lodash'
import fetch from 'node-fetch'

export type DeathDeclarationInput = {
deceased?: {
Expand Down

0 comments on commit 14d66a4

Please sign in to comment.