mirror of https://github.com/nuxt/nuxt.git
fix serialize test
This commit is contained in:
parent
32f9df76f3
commit
bb820ddb05
|
@ -28,7 +28,7 @@ describe('util: serialize', () => {
|
|||
const obj = {
|
||||
fn () {}
|
||||
}
|
||||
expect(serializeFunction(obj.fn)).toEqual('function () {}')
|
||||
expect(serializeFunction(obj.fn)).toEqual('function() {}')
|
||||
})
|
||||
|
||||
test('should serialize shorthand function', () => {
|
||||
|
|
Loading…
Reference in New Issue