mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
a11y: performance: add test5
This commit is contained in:
2 files changed
+57
-106
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user