S2 EsLint implementation
All checks were successful
Build, test and publish / verify (push) Successful in 1m40s
All checks were successful
Build, test and publish / verify (push) Successful in 1m40s
This commit is contained in:
@@ -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') };
|
||||
|
||||
Reference in New Issue
Block a user