Skip to content

Commit

Permalink
fix(testing): fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Nov 18, 2024
1 parent b4ba5be commit 62e07d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __mocks__/commander.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { vi } from 'vitest'
import * as path from 'node:path'

const command: any = {}
const command: Record<string, unknown> = {}
command.name = vi.fn().mockReturnValue(command)
command.version = vi.fn().mockReturnValue(command)
command.usage = vi.fn().mockReturnValue(command)
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import wdioEslint from '@wdio/eslint'

export default wdioEslint.config([
{
ignores: ['dist']
ignores: ['build']
},
/**
* custom test configuration
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"release:minor": "npm run release -- minor",
"release:major": "npm run release -- major",
"test": "run-s build test:*",
"test:eslint": "eslint -c ./eslint.config.js ./src/**/*.ts ./tests/**/*.ts",
"test:lint": "eslint .",
"test:unit": "vitest run",
"watch": "npm run compile -- --watch",
"watch:test": "vitest watch"
Expand Down

0 comments on commit 62e07d6

Please sign in to comment.