Skip to content

Commit

Permalink
test assert
Browse files Browse the repository at this point in the history
  • Loading branch information
jchris committed Sep 14, 2024
1 parent 25fdac2 commit 22b625a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/fireproof/hello.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { fireproof as database, Database, DocResponse, DocWithId, bs } from "@fireproof/core";
import { URI } from "@adviser/cement";

// @ts-ignore
// @ts-expect-error - This import has no type definitions
import { fileContent } from "./cars/bafkreidxwt2nhvbl4fnqfw3ctlt6zbrir4kqwmjo5im6rf4q5si27kgo2i.js";

describe("Hello World Test", function () {
Expand All @@ -14,8 +14,10 @@ describe("Hello World Test", function () {
function customExpect(value: unknown, matcher: (val: unknown) => void, message: string): void {
try {
matcher(value);

} catch (error) {
console.error(error);
void error
// console.error(error);
throw new Error(message);
}
}
Expand Down

0 comments on commit 22b625a

Please sign in to comment.