From c6bbef8557987d2cf5fd8232ed87f5b8d92908ae Mon Sep 17 00:00:00 2001 From: Alan Wei Date: Sat, 5 May 2018 18:09:32 +0800 Subject: [PATCH] tweak test case description --- src/components/SiderMenu/SilderMenu.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SiderMenu/SilderMenu.test.js b/src/components/SiderMenu/SilderMenu.test.js index 199dbac2..6bff551b 100644 --- a/src/components/SiderMenu/SilderMenu.test.js +++ b/src/components/SiderMenu/SilderMenu.test.js @@ -18,7 +18,7 @@ const menu = [{ const flatMenuKeys = getFlatMenuKeys(menu); -describe('test convert tree structure menu paths to flat menu paths', () => { +describe('test convert nested menu to flat menu', () => { it('simple menu', () => { expect(flatMenuKeys).toEqual( ['/dashboard', '/dashboard/name', '/userinfo', '/userinfo/:id', '/userinfo/:id/info'] -- GitLab