Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
raphinesse committed Jun 20, 2019
1 parent b0c0ba0 commit 9a27275
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/ios/test.exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,6 @@ describe('iOS exec', function () {
});
});

function simulateNativeBehaviour (codes) {
var execPayload = JSON.parse(exec.nativeFetchMessages());
while (execPayload.length && codes.length) {
var curPayload = execPayload.shift();
var callbackId = curPayload[0];
var moreResults = exec.nativeCallback(callbackId, codes.shift(), 'payload', false);
if (moreResults) {
execPayload.push.apply(execPayload, JSON.parse(moreResults));
}
}
expect(codes.length).toBe(0, 'Wrong number of results.');
}

describe('exec', function () {
it('Test#001 : should return "" from nativeFetchMessages work when nothing is pending.', function () {
var execPayload = exec.nativeFetchMessages();
Expand Down

0 comments on commit 9a27275

Please sign in to comment.