Skip to content

Commit f1b9f76

Browse files
author
Ali Abdelfattah
authored
Update __tests__/xhrNetworkInterceptor.spec.js
1 parent c38743c commit f1b9f76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/xhrNetworkInterceptor.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('Network Interceptor', () => {
6060

6161
it('should set requestBody in network object', (done) => {
6262

63-
let requestBody = { data: [{ item: 'first' }, { item: 'second' }] };
63+
const requestBody = { data: [{ item: 'first' }, { item: 'second' }] };
6464
Interceptor.enableInterception();
6565
Interceptor.setOnDoneCallback((network) => {
6666
expect(network.requestBody).toEqual(JSON.stringify(requestBody));
@@ -170,4 +170,4 @@ describe('Network Interceptor', () => {
170170
});
171171

172172

173-
});
173+
});

0 commit comments

Comments
 (0)