Lint tests

This commit is contained in:
Andras Schmelczer 2025-01-03 14:44:54 +00:00
parent 2911b195f4
commit c733448a02
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ export default tseslint.config({
"unused-imports": unusedImports,
},
extends: [eslint.configs.recommended, tseslint.configs.all],
ignores: ["**/types.ts"],
ignores: ["**/types.ts", "**/*.test.ts"],
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off",

View file

@ -34,7 +34,7 @@ describe("Document Lock Operations", () => {
});
test("should throw an error when unlocking a document that is not locked", () => {
expect(() => unlockDocument(testPath)).toThrow(
expect(() => { unlockDocument(testPath); }).toThrow(
`Document ${testPath} is not locked, cannot unlock`
);
});