fix(plugin-file-manager): test failed

This commit is contained in:
chenos 2022-04-27 08:26:54 +08:00
parent 08fc241b1b
commit 72d32be2b0

View File

@ -46,7 +46,6 @@ describe('action', () => {
size: 13,
mimetype: 'text/plain',
meta: {},
storageId: 1,
};
// 文件上传和解析是否正常
@ -119,7 +118,6 @@ describe('action', () => {
// see: https://github.com/ljharb/qs/issues/91
// 或考虑使用 query-string 库的 parseNumbers 等配置项
meta: { width: '100', height: '100' },
storageId: 1,
};
// 上传正常返回
expect(body.data).toMatchObject(matcher);