Skip to content

Commit 87eab7f

Browse files
committed
Avoid using HTTP imports
1 parent e349d27 commit 87eab7f

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

builtins.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { assertThrows } from "https://deno.land/[email protected]/testing/asserts.ts";
2-
import { describe, it } from "https://deno.land/[email protected]/testing/bdd.ts";
3-
import { expect } from "https://deno.land/x/[email protected]/mod.ts";
1+
import { assertThrows } from "@std/assert";
2+
import { describe, it } from "@std/testing/bdd";
3+
import { expect } from "@std/expect";
44
import {
55
all,
66
any,

custom.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, it } from "https://deno.land/[email protected]/testing/bdd.ts";
2-
import { expect } from "https://deno.land/x/[email protected]/mod.ts";
1+
import { describe, it } from "@std/testing/bdd";
2+
import { expect } from "@std/expect";
33
import { compact, compactObject, flatmap } from "./custom.ts";
44
import { repeat } from "./itertools.ts";
55

deno.jsonc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"lock": false,
32
"tasks": {
4-
"test": "deno test --unstable -A --parallel",
5-
"check": "deno check --unstable $(find . -name '*.ts')",
6-
"upgrade": "deno run -A https://deno.land/x/udd/main.ts $(find . -name '*.ts')"
3+
"test": "deno test -A --parallel --doc --shuffle",
4+
"check": "deno check **/*.ts"
5+
},
6+
"imports": {
7+
"@std/assert": "jsr:@std/assert@^0.221.0",
8+
"@std/expect": "jsr:@std/expect@^0.221.0",
9+
"@std/testing": "jsr:@std/testing@^0.221.0"
710
}
811
}

itertools.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, it } from "https://deno.land/[email protected]/testing/bdd.ts";
2-
import { expect } from "https://deno.land/x/[email protected]/mod.ts";
1+
import { describe, it } from "@std/testing/bdd";
2+
import { expect } from "@std/expect";
33
import { all, iter, range } from "./builtins.ts";
44
import {
55
chain,

more-itertools.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { describe, it } from "https://deno.land/[email protected]/testing/bdd.ts";
2-
import { expect } from "https://deno.land/x/[email protected]/mod.ts";
1+
import { describe, it } from "@std/testing/bdd";
2+
import { expect } from "@std/expect";
33
import { range } from "./builtins.ts";
44
import { first } from "./custom.ts";
55
import {

0 commit comments

Comments
 (0)