Skip to content

Commit

Permalink
Remove unused test files and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
117 committed Mar 29, 2024
1 parent 8fab462 commit 256e8cd
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 45 deletions.
41 changes: 0 additions & 41 deletions package.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { assert } from "https://deno.land/std@0.217.0/assert/assert.ts";
import { assertEquals } from "https://deno.land/std@0.220.0/assert/assert_equals.ts";
import { assertThrows } from "https://deno.land/std@0.220.0/assert/assert_throws.ts";
import { createClient } from "../factory/createClient.ts";
import { mockFetch } from "../util/mockFetch.ts";
import { createClient } from "../src/factory/createClient.ts";
import { mockFetch } from "../src/util/mockFetch.ts";

Deno.test(
"createClient should create a trade client with valid options",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assert } from "https://deno.land/std@0.217.0/assert/assert.ts";
import { createTokenBucket } from "./createTokenBucket.ts";
import { createTokenBucket } from "../src/factory/createTokenBucket.ts";

Deno.test(
"createTokenBucket should allow taking tokens within capacity",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/util/mockFetch.test.ts → test/mockFetch.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assert } from "https://deno.land/std@0.217.0/assert/assert.ts";
import { mockFetch } from "./mockFetch.ts";
import { mockFetch } from "../src/util/mockFetch.ts";

Deno.test("mockFetch should return a function", () => {
const response = { data: "mocked response" };
Expand Down
File renamed without changes.

0 comments on commit 256e8cd

Please sign in to comment.