We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c8ea9 commit cf1d41aCopy full SHA for cf1d41a
test/testSetGCMAPIKey.js
@@ -7,14 +7,14 @@ suite('setGCMAPIKey', function() {
7
});
8
9
test('non-empty string', function() {
10
- assert.doesNotThrow(() => webPush.setGCMAPIKey('AIzaSyAwmdX6KKd4hPfIcGU2SOfj9vuRDW6u-wo'));
+ assert.doesNotThrow(function() { webPush.setGCMAPIKey('AIzaSyAwmdX6KKd4hPfIcGU2SOfj9vuRDW6u-wo') });
11
12
13
test('empty string', function() {
14
- assert.throws(() => webPush.setGCMAPIKey(''), Error);
+ assert.throws(function() { webPush.setGCMAPIKey('') }, Error);
15
16
17
test('non string', function() {
18
- assert.throws(() => webPush.setGCMAPIKey(42), Error);
+ assert.throws(function() { webPush.setGCMAPIKey(42) }, Error);
19
20
0 commit comments