a11y: performance: add test5

This commit is contained in:
undefined committed 2024-06-19 02:06:40 +08:00
1 parent 047d0c8a8b
commit dc6fa6d46e
2 files changed
+57 -106

No files matched your search

+1 -1
View File
@@ -6,5 +6,5 @@ export async function apply(ctx: Context) {
ctx.on('handler/after/UserRegisterWithCode#post', async (that) => {
if (that.session.uid === 2) await UserModel.setSuperAdmin(2);
});
ctx.addScript('performance-test', 'test', Schema.object({}), startPerformanceTest);
ctx.addScript('performance-test', 'test', Schema.object({ enable5: Schema.boolean().default(false) }), startPerformanceTest);
}