Skip to content

Commit 3f7a55c

Browse files
Run yarn format
1 parent 44015b1 commit 3f7a55c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

packages/remote-config/test/remote_config.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ describe('RemoteConfig', () => {
9595
});
9696

9797
describe('setCustomSignals', () => {
98-
9998
beforeEach(() => {
10099
storageCache.setCustomSignals = sinon.stub();
101100
storage.setCustomSignals = sinon.stub();
@@ -104,7 +103,9 @@ describe('RemoteConfig', () => {
104103
it('call storage API to store signals', async () => {
105104
await setCustomSignals(rc, { key: 'value' });
106105

107-
expect(storageCache.setCustomSignals).to.have.been.calledWith({ key: 'value' });
106+
expect(storageCache.setCustomSignals).to.have.been.calledWith({
107+
key: 'value'
108+
});
108109
});
109110
});
110111

packages/remote-config/test/storage/storage.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe('Storage', () => {
119119
});
120120

121121
it('sets and gets custom signals', async () => {
122-
const customSignals = { key: 'value', key1: 'value1'};
122+
const customSignals = { key: 'value', key1: 'value1' };
123123

124124
await storage.setCustomSignals(customSignals);
125125

@@ -129,12 +129,12 @@ describe('Storage', () => {
129129
});
130130

131131
it('upserts custom signals when key is present in storage', async () => {
132-
const customSignals = { key: 'value', key1: 'value1'};
133-
const updatedSignals = { key: 'value', key1: 'value2'};
132+
const customSignals = { key: 'value', key1: 'value1' };
133+
const updatedSignals = { key: 'value', key1: 'value2' };
134134

135135
await storage.setCustomSignals(customSignals);
136136

137-
await storage.setCustomSignals({ key1: 'value2'});
137+
await storage.setCustomSignals({ key1: 'value2' });
138138

139139
const storedCustomSignals = await storage.getCustomSignals();
140140

0 commit comments

Comments
 (0)