fix: test

This commit is contained in:
Chareice 2023-02-15 10:10:44 +08:00
parent 1575364736
commit d3fb665e61

View File

@ -9,7 +9,7 @@ export async function createApp(options = {}) {
...options,
});
await app.db.sync({});
await app.db.clean({ drop: true });
app.plugin(PluginErrorHandler, { name: 'error-handler' });
app.plugin(Plugin, { name: 'collection-manager' });
app.plugin(PluginUiSchema, { name: 'ui-schema-storage' });