From 9a2727563dc0910109691ea855f1cc72a9333ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raphael=20von=20der=20Gr=C3=BCn?= Date: Mon, 29 Apr 2019 01:20:44 +0200 Subject: [PATCH] Remove unused function --- test/ios/test.exec.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/ios/test.exec.js b/test/ios/test.exec.js index 1ee0b7004..9acbfed90 100644 --- a/test/ios/test.exec.js +++ b/test/ios/test.exec.js @@ -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();