Skip to content

Commit 199532e

Browse files
committed
fix broken test
1 parent 0ce1b7a commit 199532e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sdk/analytics.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test('test_analytics_processor_flush_post_request_data_match_ananlytics_data', a
2626
aP.trackFeature("myFeature2");
2727
await aP.flush();
2828
expect(fetch).toHaveBeenCalledTimes(1);
29-
expect(fetch).toHaveBeenCalledWith('http://testUrlanalytics/flags/', expect.objectContaining({
29+
expect(fetch).toHaveBeenCalledWith('http://testUrl/analytics/flags/', expect.objectContaining({
3030
body: '{"myFeature1":1,"myFeature2":1}',
3131
headers: { 'Content-Type': 'application/json', 'X-Environment-Key': 'test-key' },
3232
method: 'POST',

0 commit comments

Comments
 (0)