Skip to content
Snippets Groups Projects
Commit f8958572 authored by Ben Wheeler's avatar Ben Wheeler
Browse files

changed projectId int to string

parent 9e1744f2
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ describe('HashParserHOC', () => {
store={store}
/>
);
expect(mockSetProjectIdFunc.mock.calls[0][0]).toBe(0);
expect(mockSetProjectIdFunc.mock.calls[0][0]).toBe('0');
});
test('when the hash is not a number, it passes 0 as projectId', () => {
......@@ -57,7 +57,7 @@ describe('HashParserHOC', () => {
store={store}
/>
);
expect(mockSetProjectIdFunc.mock.calls[0][0]).toBe(0);
expect(mockSetProjectIdFunc.mock.calls[0][0]).toBe('0');
});
test('when hash change happens, the projectId state is changed', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment