Skip to content

Commit f895857

Browse files
committed
changed projectId int to string
1 parent 9e1744f commit f895857

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/util/hash-project-loader-hoc.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('HashParserHOC', () => {
4343
store={store}
4444
/>
4545
);
46-
expect(mockSetProjectIdFunc.mock.calls[0][0]).toBe(0);
46+
expect(mockSetProjectIdFunc.mock.calls[0][0]).toBe('0');
4747
});
4848

4949
test('when the hash is not a number, it passes 0 as projectId', () => {
@@ -57,7 +57,7 @@ describe('HashParserHOC', () => {
5757
store={store}
5858
/>
5959
);
60-
expect(mockSetProjectIdFunc.mock.calls[0][0]).toBe(0);
60+
expect(mockSetProjectIdFunc.mock.calls[0][0]).toBe('0');
6161
});
6262

6363
test('when hash change happens, the projectId state is changed', () => {

0 commit comments

Comments
 (0)