S2 EsLint implementation
All checks were successful
Build, test and publish / verify (push) Successful in 1m40s

This commit is contained in:
2026-10-29 22:05:11 +01:00
parent 09cb26107e
commit 8f3026e6cd
22 changed files with 2282 additions and 31 deletions

View File

@@ -16,7 +16,10 @@ describe('School JSON import', () => {
afterEach(() => http.verify());
async function select() {
const selected = component.select({
target: { files: [{ text: async () => '{"formatVersion":1}' }], value: 'file.json' },
target: {
files: [{ text: () => Promise.resolve('{"formatVersion":1}') }],
value: 'file.json',
},
} as unknown as Event);
await Promise.resolve();
return { selected, request: http.expectOne('/api/dance-schools/import/preview') };