Skip to content
Snippets Groups Projects
Commit a69075e9 authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: unit tests

parent 2c21c25a
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ describe('common.ts', () => {
it('> should endcode brackets', () => {
expect(
encodeURIFull('(')
).toEqual('%2B')
).toEqual('%28')
})
})
})
......@@ -105,7 +105,7 @@ describe('> util.ts', () => {
ngId
}])
const s = cvtStateToHashedRoutes({})
expect(s).toContain(`r:foobar%281%29::${encodeNumber(labelIndex, { float: false })}`)
expect(s).toContain(`r:foobar%25281%2529::${encodeNumber(labelIndex, { float: false })}`)
})
})
})
......
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