mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Node linking added
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import { translateUrlParams } from '../router-utils';
|
||||
|
||||
describe('router-utils', () => {
|
||||
it('translates a query to a view state', () => {
|
||||
// const dispatch = createSpy();
|
||||
// const state = Object.assign({}, initialState, {
|
||||
// nodes: [{node_1: 'some_id'}]
|
||||
// });
|
||||
// window.location.search = '?node=node_1';
|
||||
// const page = getRouter(dispatch, state);
|
||||
// expect(page).toBeTruthy();
|
||||
translateUrlParams('?key=value&otherkey=othervalue', []);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user