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