Skip to content

Commit

Permalink
Use test-prelude instead of importing dependencies directly
Browse files Browse the repository at this point in the history
  • Loading branch information
diogob committed Nov 15, 2023
1 parent cba84bf commit 507ca34
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions src/atmp/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import {
assertEquals,
describe,
it,
} from '../test-prelude.ts'
import { atmp, map, mapError, pipe, sequence } from './index.ts'
import type { Attempt, ErrorWithMessage, Result } from './index.ts'
import { Equal, Expect } from './types.test.ts'
Expand Down
7 changes: 5 additions & 2 deletions src/atmp/types.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// deno-lint-ignore-file ban-ts-comment no-namespace no-unused-vars
import { describe, it } from 'https://deno.land/[email protected]/testing/bdd.ts'
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
import {
assertEquals,
describe,
it,
} from '../test-prelude.ts'
import * as Subject from './types.ts'

export type Expect<T extends true> = T
Expand Down

0 comments on commit 507ca34

Please sign in to comment.