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

Commit 59c4a69

Browse files
Craig DoremusCraig Doremus
authored andcommitted
test: moved all test dependencies to deps.test.ts; upgraded to [email protected]
1 parent a65dc4f commit 59c4a69

File tree

7 files changed

+16
-8
lines changed

7 files changed

+16
-8
lines changed

deps.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export {
2+
assert,
3+
assertEquals,
4+
assertNotEquals,
5+
assertThrows
6+
} from "https://deno.land/[email protected]/testing/asserts.ts"
7+
export { SEP } from "https://deno.land/[email protected]/path/separator.ts"
8+
export { delay } from 'https://deno.land/[email protected]/async/delay.ts'

framework/core/routing_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
1+
import { assertEquals } from '../../deps.test.ts'
22
import { Routing } from './routing.ts'
33

44
Deno.test(`routing`, () => {

plugins/markdown_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
1+
import { assertEquals } from '../deps.test.ts'
22
import markdownLoader from './markdown.ts'
33

44
Deno.test('markdown loader', async () => {

server/css_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
1+
import { assertEquals } from '../deps.test.ts'
22
import { CSSProcessor } from './css.ts'
33

44
Deno.test('css processor', async () => {

server/helper_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
1+
import { assertEquals } from '../deps.test.ts'
22
import { toLocalUrl } from './helper.ts'
33

44
Deno.test(`server/helper`, async () => {

shared/fs_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
assert, assertEquals, assertThrows, assertNotEquals
3-
} from 'https://deno.land/[email protected]/testing/asserts.ts'
4-
import { SEP } from "https://deno.land/[email protected]/path/separator.ts"
3+
} from '../deps.test.ts'
4+
import { SEP } from '../deps.test.ts'
55
import {
66
existsDir, existsDirSync, existsFile, existsFileSync,
77
ensureTextFile, lazyRemove

shared/util_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts'
2-
import { delay } from 'https://deno.land/[email protected]/async/delay.ts'
1+
import { assertEquals } from '../deps.test.ts'
2+
import { delay } from '../deps.test.ts'
33
import util from './util.ts'
44

55
Deno.test(`util`, async () => {

0 commit comments

Comments
 (0)