Skip to content

Commit

Permalink
[1.x] Optimizes imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed Feb 27, 2024
1 parent c79de8b commit 44a0db1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/browser.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {expect, test, vi, describe, beforeEach} from "vitest"
import {beforeEach, describe, expect, test, vi} from "vitest"
import {isAutomatic, isManual, isNotAutomatic, isNotSupported, isSupported, isUnsupported} from "./browser.ts";

beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {expect, test, vi, describe, beforeEach, assert} from "vitest"
import {assert, describe, expect, test} from "vitest"
import {except, isArrayBuffer, isObjectEmpty, mergeDeep, normalizeOptions, pull} from "./utils.ts";
import {CeremonyOptionsWithoutPath} from "./types.ts";
import config from "./config.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {CeremonyOptionsWithoutPath, CeremonyOptions, Config } from "./types.ts"
import {CeremonyOptions, CeremonyOptionsWithoutPath, Config} from "./types.ts"

/**
* Extracts a single key for the object.
Expand Down
7 changes: 4 additions & 3 deletions src/webpass.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import type {
AssertionResult,
AttestationResult,
CeremonyOptionsWithoutPath, CeremonyResultRaw,
CeremonyOptionsWithoutPath,
CeremonyResultRaw,
Config,
ServerPublicKeyCredentialCreationOptions,
ServerPublicKeyCredentialRequestOptions,
Webpass,
WebpassStatic
} from "./types.ts"
import {isNotSupported, isSupported, isUnsupported, isAutomatic, isNotAutomatic, isManual} from "./browser.ts"
import {mergeDeep, isObjectEmpty, normalizeOptions, except, isArrayBuffer} from "./utils.ts"
import {isAutomatic, isManual, isNotAutomatic, isNotSupported, isSupported, isUnsupported} from "./browser.ts"
import {isArrayBuffer, isObjectEmpty, mergeDeep, normalizeOptions} from "./utils.ts"
import defaultConfig from "./config.ts"
import wfetch from "./wfetch.ts"

Expand Down
2 changes: 1 addition & 1 deletion src/wfetch.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {expect, test, vi, describe, beforeEach} from "vitest"
import {beforeEach, describe, expect, test, vi} from "vitest"
import wfetch from "./wfetch.ts";

vi.mock('ofetch', () => {
Expand Down

0 comments on commit 44a0db1

Please sign in to comment.