Skip to content

Commit 3ed293a

Browse files
authored
Merge pull request #8 from nberlette/test/deps
tests: add @std test deps to manifest
2 parents 7be6922 + f9a705b commit 3ed293a

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

deno.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@
100100
"./types/precision": "./src/types/precision.ts",
101101
"./types/safe-integer": "./src/types/safe_integer.ts"
102102
},
103+
"imports": {
104+
"@std/assert": "jsr:@std/assert@^1.0.11",
105+
"@std/testing": "jsr:@std/testing@^1.0.9",
106+
"@std/expect": "jsr:@std/expect@^1.0.13"
107+
},
103108
"tasks": {
104109
"bench": "./scripts/benchmark.ts",
105110
"test": "deno test -A --no-check=remote --coverage=tests/.coverage --clean --parallel",

tests/constants.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as constants from "../src/constants/mod.ts";
2-
import { describe, it } from "jsr:@std/testing@1/bdd";
3-
import { expect } from "jsr:@std/expect@1";
2+
import { describe, it } from "@std/testing/bdd";
3+
import { expect } from "@std/expect";
44

55
const cases = {
66
Math: [

tests/random.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { describe, it } from "jsr:@std/testing@1/bdd";
2-
import { assert, assertEquals } from "jsr:@std/assert@1";
3-
import { expect } from "jsr:@std/expect@1";
1+
import { describe, it } from "@std/testing/bdd";
2+
import { assert, assertEquals } from "@std/assert";
3+
import { expect } from "@std/expect";
44
import { MT19937, random } from "../src/random.ts";
55

66
describe("random", () => {

tests/trigonometry.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 "jsr:@std/testing@1/bdd";
2-
import { expect } from "jsr:@std/expect@1";
1+
import { describe, it } from "@std/testing/bdd";
2+
import { expect } from "@std/expect";
33
import {
44
acos,
55
acosh,

0 commit comments

Comments
 (0)