mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
test: utilize new flat ESLint configuration (#294)
* test: utilize new flat ESLint configuration * test: add TypeScript support to new flat ESLint config * test: fix `@typescript-eslint/consistent-indexed-object-style` lint issue
This commit is contained in:
@@ -11,9 +11,9 @@ jest.unstable_mockModule("@actions/core", () => ({
|
||||
describe("get action inputs", () => {
|
||||
interface TestCase {
|
||||
name: string;
|
||||
booleanInputs?: { [key: string]: boolean };
|
||||
stringInputs?: { [key: string]: string };
|
||||
multilineInputs?: { [key: string]: string[] };
|
||||
booleanInputs?: Record<string, boolean>;
|
||||
stringInputs?: Record<string, string>;
|
||||
multilineInputs?: Record<string, string[]>;
|
||||
expectedInputs?: Partial<Inputs>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user