Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it } from "testing/bdd";
import { assertEquals } from "assert";
import { assertEquals } from "@std/assert";

describe("main", () => {
it("MAIN00 - filters empty arguments", () => {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/options.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it } from "testing/bdd";
import { assertEquals } from "assert";
import { assertEquals } from "@std/assert";
import { build, config, json, output, prerelease } from "./options.ts";

describe("options", () => {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/set.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
returnsNext,
stub,
} from "testing/mock";
import { assertRejects } from "assert";
import { assertRejects } from "@std/assert";
import type { Arguments } from "yargs";
import { set } from "./set.ts";
import { testContext } from "../util/testContext.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/post.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { parse } from "semver";
import { assertEquals } from "assert";
import { assertEquals } from "@std/assert";
import { resolvesNext, stub } from "testing/mock";
import * as YAML from "yaml";
import { IContext } from "../context.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/util/increment.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "assert";
import { assertEquals } from "@std/assert";
import { format, parse } from "semver";
import { increment, IncrementKind, IncrementOptions } from "./increment.ts";

Expand Down
4 changes: 2 additions & 2 deletions src/util/version.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { format, parse } from "semver";
import { assertEquals, AssertionError, assertRejects } from "assert";
import { assertEquals, AssertionError, assertRejects } from "@std/assert";
import { assertSpyCall, resolvesNext, stub } from "testing/mock";
import { IContext } from "../context.ts";
import { printVersion, readVersionFile, writeVersionFile } from "./version.ts";
Expand Down Expand Up @@ -40,7 +40,7 @@ Deno.test({
Deno.test({
name: "VER02",
fn: async () => {
const err = new AssertionError("testing");
const err = new AssertionError({ message: "testing" });
// deno-lint-ignore no-explicit-any
(err as any).code = "TEST";
const readTextFile = stub(
Expand Down
Loading