Commit c6bbef85 authored by Alan Wei's avatar Alan Wei Committed by ι™ˆεΈ…

tweak test case description

parent a8cc8272
...@@ -18,7 +18,7 @@ const menu = [{ ...@@ -18,7 +18,7 @@ const menu = [{
const flatMenuKeys = getFlatMenuKeys(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', () => { it('simple menu', () => {
expect(flatMenuKeys).toEqual( expect(flatMenuKeys).toEqual(
['/dashboard', '/dashboard/name', '/userinfo', '/userinfo/:id', '/userinfo/:id/info'] ['/dashboard', '/dashboard/name', '/userinfo', '/userinfo/:id', '/userinfo/:id/info']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment