Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
DonIsaac committed Feb 5, 2025
1 parent bd68667 commit 9291f0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,7 @@ export class VerdaccioRegistry {
await rm(join(this.packagesPath, "private-pkg-dont-touch"), { force: true });
const packageDir = tmpdirSync();
const packageJson = join(packageDir, "package.json");
this.writeBunfig(packageDir, bunfigOpts);
await this.writeBunfig(packageDir, bunfigOpts);
this.users = {};
return { packageDir, packageJson };
}
Expand Down
4 changes: 2 additions & 2 deletions test/js/node/assert/assert.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe("assert(expr)", () => {
});

it("is an alias for assert.ok", () => {
expect(assert).toBe(assert.ok);
expect(assert as Function).toBe(assert.ok);
});
});

Expand Down Expand Up @@ -42,7 +42,7 @@ describe("assert.equal(actual, expected)", () => {

describe("assert.deepEqual(actual, expected)", () => {
describe("error instances", () => {
let e1: Error, e2: Error;
let e1: Error & Record<string, any>, e2: Error & Record<string, any>;

beforeEach(() => {
e1 = new Error("oops");
Expand Down

0 comments on commit 9291f0b

Please sign in to comment.