Skip to content

Commit 303b333

Browse files
Fix typos
1 parent 1a4aa7d commit 303b333

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/__tests__/mocks/splitchanges.since.-1.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,6 +1745,8 @@
17451745
"trafficTypeId": null,
17461746
"trafficTypeName": null,
17471747
"name": "always_on_if_prerequisite",
1748+
"trafficAllocation": 100,
1749+
"trafficAllocationSeed": 1828377380,
17481750
"seed": -790401604,
17491751
"status": "ACTIVE",
17501752
"killed": false,

src/__tests__/push/browser.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Math.random = () => 0.5; // SDKs without telemetry
1414

1515
tape('## Browser JS - E2E CI Tests for PUSH ##', function (assert) {
1616

17-
// Non-recoverable issues on inizialization
17+
// Non-recoverable issues on initialization
1818
assert.test('E2E / PUSH initialization: auth with push disabled', testAuthWithPushDisabled.bind(null, fetchMock));
1919
assert.test('E2E / PUSH initialization: auth with 401', testAuthWith401.bind(null, fetchMock));
2020
assert.test('E2E / PUSH initialization: fallback to polling if EventSource is not available', testNoEventSource.bind(null, fetchMock));
2121
assert.test('E2E / PUSH initialization: sse with non-recoverable Ably error', testSSEWithNonRetryableError.bind(null, fetchMock));
2222

23-
// Recoverable issues on inizialization
23+
// Recoverable issues on initialization
2424
assert.test('E2E / PUSH initialization: auth failures and then success', testPushRetriesDueToAuthErrors.bind(null, fetchMock));
2525
assert.test('E2E / PUSH initialization: SSE connection failures and then success', testPushRetriesDueToSseErrors.bind(null, fetchMock));
2626

src/__tests__/push/node.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ fetchMock.post('https://telemetry.split.io/api/v1/metrics/usage', 200);
1515

1616
tape('## Node.js - E2E CI Tests for PUSH ##', async function (assert) {
1717

18-
// Non-recoverable issues on inizialization
18+
// Non-recoverable issues on initialization
1919
assert.test('E2E / PUSH initialization: auth with push disabled', testAuthWithPushDisabled.bind(null, fetchMock));
2020
assert.test('E2E / PUSH initialization: auth with 401', testAuthWith401.bind(null, fetchMock));
2121
assert.test('E2E / PUSH initialization: auth with 400', testAuthWith400.bind(null, fetchMock));
2222
assert.test('E2E / PUSH initialization: fallback to polling if EventSource is not available', testNoEventSource.bind(null, fetchMock));
2323
assert.test('E2E / PUSH initialization: sse with non-recoverable Ably error', testSSEWithNonRetryableError.bind(null, fetchMock));
2424

25-
// Recoverable issues on inizialization
25+
// Recoverable issues on initialization
2626
assert.test('E2E / PUSH initialization: auth failures and then success', testPushRetriesDueToAuthErrors.bind(null, fetchMock));
2727
assert.test('E2E / PUSH initialization: SSE connection failures and then success', testPushRetriesDueToSseErrors.bind(null, fetchMock));
2828

0 commit comments

Comments
 (0)