Skip to content

Commit 1152305

Browse files
committed
Add codePushLabel property to init test
1 parent 8dfe0d4 commit 1152305

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/modules/Instabug.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,15 @@ describe('Instabug Module', () => {
171171
token: 'some-token',
172172
invocationEvents: [InvocationEvent.floatingButton, InvocationEvent.shake],
173173
debugLogsLevel: LogLevel.debug,
174+
codePushLabel: 'v123',
174175
};
175176
Instabug.init(instabugConfig);
176177

177178
expect(NativeInstabug.init).toBeCalledTimes(1);
178179
expect(NativeInstabug.init).toBeCalledWith(
179180
instabugConfig.token,
180181
instabugConfig.invocationEvents,
182+
instabugConfig.codePushLabel,
181183
instabugConfig.debugLogsLevel,
182184
);
183185
});

0 commit comments

Comments
 (0)