Skip to content

Commit bcc4a51

Browse files
committed
Add codePushLabel property to init test
1 parent d2c6153 commit bcc4a51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/modules/Instabug.spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ describe('Instabug Module', () => {
141141
const instabugConfig = {
142142
token: 'some-token',
143143
invocationEvents: [Instabug.invocationEvent.floatingButton, Instabug.invocationEvent.shake],
144+
codePushLabel: 'v123',
144145
debugLogsLevel: LogLevel.Debug,
145146
};
146147
Instabug.init(instabugConfig);
@@ -149,6 +150,7 @@ describe('Instabug Module', () => {
149150
expect(NativeInstabug.init).toBeCalledWith(
150151
instabugConfig.token,
151152
instabugConfig.invocationEvents,
153+
instabugConfig.codePushLabel,
152154
instabugConfig.debugLogsLevel,
153155
);
154156
});

0 commit comments

Comments
 (0)