Skip to content

Commit 74e296e

Browse files
committed
Fixed formatting
1 parent b5a8c4e commit 74e296e

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

packages/data-connect/test/unit/dataconnect.test.ts

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ import { expect } from 'chai';
2121
import { getDataConnect } from '../../src';
2222

2323
describe('Data Connect Test', () => {
24-
beforeEach(() => {
25-
});
24+
beforeEach(() => {});
2625
it('should throw an error if `projectId` is not provided', async () => {
2726
const app = initializeApp({ projectId: undefined }, 'a');
2827
expect(() =>
@@ -40,18 +39,24 @@ describe('Data Connect Test', () => {
4039
).to.not.throw(
4140
'Project ID must be provided. Did you pass in a proper projectId to initializeApp?'
4241
);
43-
const dc = getDataConnect(customApp, { connector: 'c', location: 'l', service: 's' });
42+
const dc = getDataConnect(customApp, {
43+
connector: 'c',
44+
location: 'l',
45+
service: 's'
46+
});
4447
expect(dc.app.options.projectId).to.eq(projectId);
4548
await deleteApp(customApp);
4649
});
4750
it('should throw an error if `connectorConfig` is not provided', async () => {
4851
const projectId = 'p';
4952
const customApp = initializeApp({ projectId }, 'customApp');
5053
// @ts-ignore
51-
expect(() => getDataConnect(customApp)).to.throw(
52-
'DC Option Required'
53-
);
54-
const dc = getDataConnect(customApp, { connector: 'c', location: 'l', service: 's' });
54+
expect(() => getDataConnect(customApp)).to.throw('DC Option Required');
55+
const dc = getDataConnect(customApp, {
56+
connector: 'c',
57+
location: 'l',
58+
service: 's'
59+
});
5560
expect(dc.app.options.projectId).to.eq(projectId);
5661
await deleteApp(customApp);
5762
});

0 commit comments

Comments
 (0)