Update param2Obj.spec.js
This commit is contained in:
parent
fe3ec00e1f
commit
14e655ffe4
|
@ -2,7 +2,7 @@ import { param2Obj } from '@/utils/index.js'
|
||||||
describe('Utils:param2Obj', () => {
|
describe('Utils:param2Obj', () => {
|
||||||
const url = 'https://github.com/PanJiaChen/vue-element-admin?name=bill&age=29&sex=1&field=dGVzdA=='
|
const url = 'https://github.com/PanJiaChen/vue-element-admin?name=bill&age=29&sex=1&field=dGVzdA=='
|
||||||
|
|
||||||
it('param2Obj', () => {
|
it('param2Obj test', () => {
|
||||||
expect(param2Obj(url)).toEqual({
|
expect(param2Obj(url)).toEqual({
|
||||||
name: 'bill',
|
name: 'bill',
|
||||||
age: '29',
|
age: '29',
|
||||||
|
|
Loading…
Reference in New Issue