Skip to content

Commit

Permalink
Merge pull request #410 from vim-denops/deps-test
Browse files Browse the repository at this point in the history
📦 🌿 update deps for testing
  • Loading branch information
lambdalisue authored Aug 19, 2024
2 parents 6e727ee + 521962e commit 010d898
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions denops/@denops-private/cli_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import {
spy,
type Stub,
stub,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
import { FakeTime } from "jsr:@std/testing@^1.0.0-rc.5/time";
} from "jsr:@std/testing@^1.0.0/mock";
import { FakeTime } from "jsr:@std/testing@^1.0.0/time";
import { delay } from "jsr:@std/async@^1.0.1/delay";
import { promiseState } from "jsr:@lambdalisue/async@^2.1.1";
import {
Expand Down
2 changes: 1 addition & 1 deletion denops/@denops-private/denops_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
assertSpyCalls,
resolvesNext,
stub,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
} from "jsr:@std/testing@^1.0.0/mock";
import { promiseState } from "jsr:@lambdalisue/async@^2.1.1";
import { DenopsImpl, type Host, type Service } from "./denops.ts";

Expand Down
2 changes: 1 addition & 1 deletion denops/@denops-private/host/nvim_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
assertSpyCalls,
resolvesNext,
stub,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
} from "jsr:@std/testing@^1.0.0/mock";
import { delay } from "jsr:@std/async@^1.0.1/delay";
import { promiseState } from "jsr:@lambdalisue/async@^2.1.1";
import { unimplemented } from "jsr:@lambdalisue/errorutil@^1.1.0";
Expand Down
2 changes: 1 addition & 1 deletion denops/@denops-private/host/vim_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
assertSpyCalls,
resolvesNext,
stub,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
} from "jsr:@std/testing@^1.0.0/mock";
import { delay } from "jsr:@std/async@^1.0.1/delay";
import { promiseState } from "jsr:@lambdalisue/async@^2.1.1";
import { unimplemented } from "jsr:@lambdalisue/errorutil@^1.1.0";
Expand Down
2 changes: 1 addition & 1 deletion denops/@denops-private/host_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertSpyCall,
assertSpyCalls,
stub,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
} from "jsr:@std/testing@^1.0.0/mock";
import { AssertError } from "jsr:@core/unknownutil@^4.0.0/assert";
import { unimplemented } from "jsr:@lambdalisue/errorutil@^1.1.0";
import { invoke, type Service } from "./host.ts";
Expand Down
2 changes: 1 addition & 1 deletion denops/@denops-private/service_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
resolvesNext,
spy,
stub,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
} from "jsr:@std/testing@^1.0.0/mock";
import type { Meta } from "jsr:@denops/core@^7.0.0";
import { promiseState } from "jsr:@lambdalisue/async@^2.1.1";
import { unimplemented } from "jsr:@lambdalisue/errorutil@^1.1.0";
Expand Down
2 changes: 1 addition & 1 deletion denops/@denops-private/version_test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assert, assertEquals } from "jsr:@std/assert@^1.0.1";
import { resolvesNext, stub } from "jsr:@std/testing@^1.0.0-rc.5/mock";
import { resolvesNext, stub } from "jsr:@std/testing@^1.0.0/mock";
import type { SemVer } from "jsr:@std/semver@^0.224.3/types";
import type { Predicate } from "jsr:@core/unknownutil@^4.0.0/type";
import { isArrayOf } from "jsr:@core/unknownutil@^4.0.0/is/array-of";
Expand Down
2 changes: 1 addition & 1 deletion denops/@denops-private/worker_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
resolvesNext,
spy,
stub,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
} from "jsr:@std/testing@^1.0.0/mock";
import { delay } from "jsr:@std/async@^1.0.1/delay";
import { DisposableStack } from "jsr:@nick/dispose@^1.1.0/disposable-stack";
import * as nvimCodec from "jsr:@lambdalisue/messagepack@^1.0.1";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/plugin/discover_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertEquals,
assertMatch,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0";
import { delay } from "jsr:@std/async@^1.0.1";
import { join } from "jsr:@std/path@^1.0.2/join";
import { testHost } from "/denops-testutil/host.ts";
import { wait } from "/denops-testutil/wait.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/plugin/is_loaded_test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assertEquals, assertRejects } from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0";
import { delay } from "jsr:@std/async@^1.0.1";
import { join } from "jsr:@std/path@^1.0.2/join";
import { testHost } from "/denops-testutil/host.ts";
import { wait } from "/denops-testutil/wait.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/plugin/load_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertMatch,
assertRejects,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0";
import { delay } from "jsr:@std/async@^1.0.1";
import { join } from "jsr:@std/path@^1.0.2/join";
import { testHost } from "/denops-testutil/host.ts";
import { wait } from "/denops-testutil/wait.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/plugin/reload_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertMatch,
assertRejects,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0";
import { delay } from "jsr:@std/async@^1.0.1";
import { join } from "jsr:@std/path@^1.0.2/join";
import { testHost } from "/denops-testutil/host.ts";
import { wait } from "/denops-testutil/wait.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/plugin/unload_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertMatch,
assertRejects,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0";
import { delay } from "jsr:@std/async@^1.0.1";
import { join } from "jsr:@std/path@^1.0.2/join";
import { testHost } from "/denops-testutil/host.ts";
import { wait } from "/denops-testutil/wait.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/plugin/wait_async_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
assertLess,
assertRejects,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0";
import { delay } from "jsr:@std/async@^1.0.1";
import { join } from "jsr:@std/path@^1.0.2/join";
import { testHost } from "/denops-testutil/host.ts";
import { wait } from "/denops-testutil/wait.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/plugin/wait_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
assertRejects,
assertStringIncludes,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0";
import { delay } from "jsr:@std/async@^1.0.1";
import { join } from "jsr:@std/path@^1.0.2/join";
import { testHost } from "/denops-testutil/host.ts";
import { wait } from "/denops-testutil/wait.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/server/close_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
assertMatch,
assertRejects,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0/delay";
import { delay } from "jsr:@std/async@^1.0.1/delay";
import { AsyncDisposableStack } from "jsr:@nick/dispose@^1.1.0/async-disposable-stack";
import { testHost } from "/denops-testutil/host.ts";
import { useSharedServer } from "/denops-testutil/shared_server.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/server/connect_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
assertMatch,
assertRejects,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0/delay";
import { delay } from "jsr:@std/async@^1.0.1/delay";
import { AsyncDisposableStack } from "jsr:@nick/dispose@^1.1.0/async-disposable-stack";
import { testHost } from "/denops-testutil/host.ts";
import { useSharedServer } from "/denops-testutil/shared_server.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/functions/server/start_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
assertNotMatch,
assertStringIncludes,
} from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0/delay";
import { delay } from "jsr:@std/async@^1.0.1/delay";
import { AsyncDisposableStack } from "jsr:@nick/dispose@^1.1.0/async-disposable-stack";
import { testHost } from "/denops-testutil/host.ts";
import { useSharedServer } from "/denops-testutil/shared_server.ts";
Expand Down
2 changes: 1 addition & 1 deletion tests/denops/runtime/plugin_test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assertEquals, assertMatch } from "jsr:@std/assert@^1.0.1";
import { delay } from "jsr:@std/async@^0.224.0/delay";
import { delay } from "jsr:@std/async@^1.0.1/delay";
import { withHost } from "/denops-testutil/host.ts";
import { useSharedServer } from "/denops-testutil/shared_server.ts";
import { wait } from "/denops-testutil/wait.ts";
Expand Down
6 changes: 3 additions & 3 deletions tests/denops/testutil/mock_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ import {
assertEquals,
assertInstanceOf,
assertRejects,
} from "jsr:@std/assert@^0.225.2";
} from "jsr:@std/assert@^1.0.1";
import { promiseState } from "jsr:@lambdalisue/async@^2.1.1";
import {
createFakeTcpConn,
createFakeTcpListener,
createFakeWorker,
pendingPromise,
} from "./mock.ts";
import { assertThrows } from "jsr:@std/assert@^0.225.1/assert-throws";
import { assertThrows } from "jsr:@std/assert@^1.0.1/throws";
import {
assertSpyCalls,
resolvesNext,
spy,
stub,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
} from "jsr:@std/testing@^1.0.0/mock";

// deno-lint-ignore no-explicit-any
type AnyFn = (...args: any[]) => unknown;
Expand Down
4 changes: 2 additions & 2 deletions tests/denops/testutil/wait_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
resolvesNext,
returnsNext,
spy,
} from "jsr:@std/testing@^1.0.0-rc.5/mock";
import { FakeTime } from "jsr:@std/testing@^1.0.0-rc.5/time";
} from "jsr:@std/testing@^1.0.0/mock";
import { FakeTime } from "jsr:@std/testing@^1.0.0/time";
import { wait } from "./wait.ts";

Deno.test("wait()", async (t) => {
Expand Down

0 comments on commit 010d898

Please sign in to comment.