Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jan 15, 2024
1 parent d679b2c commit df863f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/src/eslint-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ describe("Integration with eslint-plugin-json-schema-validator", () => {
it("should lint without errors", async () => {
const engine = new ESLint({
cwd: TEST_CWD,
extensions: [".js", ".json"],
plugins: { "eslint-plugin-json-schema-validator": plugin as any },
overrideConfig: {
files: ["**/*.js", "**/*.json"],
plugins: { "json-schema-validator": plugin },
} as any,
});
const results = await engine.lintFiles(["test01/src"]);
assert.strictEqual(results.length, 2);
Expand Down

0 comments on commit df863f4

Please sign in to comment.