fix serialize test

This commit is contained in:
pooya parsa 2019-07-11 15:09:27 +04:30
parent 32f9df76f3
commit bb820ddb05

View File

@ -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', () => {