Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit 5d7f403

Browse files
committed
test(e2e): fix imports
1 parent 360bccc commit 5d7f403

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

api-verification/api-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { IncomingMessage, type OutgoingHttpHeaders } from 'http'
2-
import * as https from 'https'
3-
import * as jwt from 'jsonwebtoken'
2+
import https from 'https'
3+
import jwt from 'jsonwebtoken'
44
import { URL, URLSearchParams } from 'url'
55

66
const token = (tokenKey: string, payload: Record<string, any>) =>

api-verification/device-token-authentication.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { spawn } from 'child_process'
22
import { randomUUID } from 'node:crypto'
3-
import * as os from 'os'
3+
import os from 'os'
44
import { apiClient, tokenAuthorization } from './api-client.js'
55
import { describe, it, before } from 'node:test'
66
import assert from 'node:assert/strict'

api-verification/pgps.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { IncomingHttpHeaders } from 'http'
2-
import * as https from 'https'
2+
import https from 'https'
33
import { apiClient, tokenAuthorization } from './api-client.js'
44
import { describe, it } from 'node:test'
55
import assert from 'node:assert/strict'

src/verify-agnss-data.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as fs from 'fs'
2-
import * as path from 'path'
1+
import fs from 'fs'
2+
import path from 'path'
33
import {
44
AGNSSType,
55
type DataGram,

0 commit comments

Comments
 (0)