Skip to content

Commit c9060f5

Browse files
committed
lint
1 parent 2f174d1 commit c9060f5

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

packages/cubejs-schema-compiler/test/unit/scaffolding-template.test.ts

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -178,22 +178,22 @@ describe('ScaffoldingTemplate', () => {
178178
['public', 'customers'],
179179
'public.accounts',
180180
]).forEach((it) => {
181-
expect(it.content).toMatchSnapshot(it.fileName)
182-
})
181+
expect(it.content).toMatchSnapshot(it.fileName);
182+
});
183183
});
184184

185185
it('template with snake case', () => {
186186
const template = new ScaffoldingTemplate(dbSchema, driver, {
187187
snakeCase: true,
188188
});
189189

190-
template.generateFilesByTableNames([
191-
'public.orders',
192-
['public', 'customers'],
193-
'public.accounts',
194-
]).forEach((it) => {
195-
expect(it.content).toMatchSnapshot(it.fileName)
196-
})
190+
template.generateFilesByTableNames([
191+
'public.orders',
192+
['public', 'customers'],
193+
'public.accounts',
194+
]).forEach((it) => {
195+
expect(it.content).toMatchSnapshot(it.fileName);
196+
});
197197
});
198198

199199
it('escaping back tick', () => {
@@ -226,8 +226,8 @@ describe('ScaffoldingTemplate', () => {
226226
);
227227

228228
template.generateFilesByTableNames(['public.someOrders']).forEach((it) => {
229-
expect(it.content).toMatchSnapshot(it.fileName)
230-
})
229+
expect(it.content).toMatchSnapshot(it.fileName);
230+
});
231231
});
232232

233233
it('big query nested fields', () => {
@@ -255,7 +255,7 @@ describe('ScaffoldingTemplate', () => {
255255
);
256256

257257
template.generateFilesByTableNames(['public.orders'])
258-
.forEach((it) => expect(it.content).toMatchSnapshot(it.fileName))
258+
.forEach((it) => expect(it.content).toMatchSnapshot(it.fileName));
259259
});
260260

261261
it('should add options if passed', () => {
@@ -287,7 +287,7 @@ describe('ScaffoldingTemplate', () => {
287287
);
288288

289289
template.generateFilesByTableNames(['public.orders'], schemaContext).forEach((it) => {
290-
expect(it.content).toMatchSnapshot(it.fileName)
290+
expect(it.content).toMatchSnapshot(it.fileName);
291291
});
292292
});
293293

@@ -302,8 +302,8 @@ describe('ScaffoldingTemplate', () => {
302302
);
303303

304304
template.generateFilesByTableNames(['public.orders', 'public.customers']).forEach((it) => {
305-
expect(it.content).toMatchSnapshot(it.fileName)
306-
})
305+
expect(it.content).toMatchSnapshot(it.fileName);
306+
});
307307
});
308308
});
309309

@@ -319,7 +319,7 @@ describe('ScaffoldingTemplate', () => {
319319
['public', 'customers'],
320320
'public.accounts',
321321
]).forEach((it) => {
322-
expect(it.content).toMatchSnapshot(it.fileName)
322+
expect(it.content).toMatchSnapshot(it.fileName);
323323
});
324324
});
325325

@@ -338,8 +338,8 @@ describe('ScaffoldingTemplate', () => {
338338
);
339339

340340
template.generateFilesByTableNames(['public.accounts']).forEach((it) => {
341-
expect(it.content).toMatchSnapshot(it.fileName)
342-
})
341+
expect(it.content).toMatchSnapshot(it.fileName);
342+
});
343343
});
344344

345345
it('generates schema with a catalog', () => {
@@ -358,8 +358,8 @@ describe('ScaffoldingTemplate', () => {
358358
);
359359

360360
template.generateFilesByTableNames(['public.accounts']).forEach((it) => {
361-
expect(it.content).toMatchSnapshot(it.fileName)
362-
})
361+
expect(it.content).toMatchSnapshot(it.fileName);
362+
});
363363
});
364364

365365
it('uses dimension refs instead of table columns for join sql', () => {
@@ -373,8 +373,8 @@ describe('ScaffoldingTemplate', () => {
373373
);
374374

375375
template.generateFilesByTableNames(['public.orders', 'public.customers']).forEach((it) => {
376-
expect(it.content).toMatchSnapshot(it.fileName)
377-
})
376+
expect(it.content).toMatchSnapshot(it.fileName);
377+
});
378378
});
379379
});
380380
});

0 commit comments

Comments
 (0)