Skip to content

Commit

Permalink
Updating files
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Aug 18, 2024
1 parent 668e069 commit 5375762
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/src/files/incorrect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe("test incorrect files", function () {
(succes) => {
expect(succes.length, "Expected errors! but had none").to.greaterThan(0);
},
(fail) => {
() => {
Github.createError("No errors where found", { file: file });
expect.fail("Failed to validate");
}
Expand All @@ -32,7 +32,7 @@ describe("test incorrect files", function () {
(success) => {
expect(success.length, "Expected schemas to be returned").to.greaterThan(0);
},
(fail) => {
() => {
Github.createError("Found no schema", { file: file });
expect.fail("failed on retrieving schemas");
}
Expand Down
2 changes: 1 addition & 1 deletion test/src/utillity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export namespace Files {
cwd = cwd.replace("\\", "/");

const options: FastGlob.Options = { onlyFiles: true, absolute: true, cwd: cwd };
let entries = FastGlob.sync(["*.json", "**/*.json"], options);
const entries = FastGlob.sync(["*.json", "**/*.json"], options);

return entries;
}
Expand Down

0 comments on commit 5375762

Please sign in to comment.