Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix neg test
Browse files Browse the repository at this point in the history
foxriver76 committed Jan 8, 2025
1 parent 3a2f0c0 commit 3d09001
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/controller/test/lib/testFiles.ts
Original file line number Diff line number Diff line change
@@ -249,9 +249,7 @@ export function register(it: Mocha.TestFunction, expect: Chai.ExpectStatic, cont
const objects = context.objects;
const id = `${testId}.meta.nonExisting`;

expect(objects.readDirAsync(id, '')).to.be.eventually.rejectedWith(
new Error(`${id} is not an object of type "meta"`),
);
expect(objects.readDirAsync(id, '')).to.be.eventually.rejectedWith(`${id} is not an object of type "meta"`);
});

it(`${testName}should respond with empty array if calling readDir on a single file`, async () => {

0 comments on commit 3d09001

Please sign in to comment.