mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ci: fix config generation
This commit is contained in:
1 parent
6cea9eb51c
commit
c6796a3a2b
4 files changed
+7
-5
No files matched your search
+1
-2
@@ -2,7 +2,6 @@ import assert from 'assert';
|
||||
import autocannon from 'autocannon';
|
||||
import { writeFileSync } from 'fs-extra';
|
||||
import * as supertest from 'supertest';
|
||||
import * as bus from 'hydrooj/src/service/bus';
|
||||
|
||||
const Root = {
|
||||
username: 'root',
|
||||
@@ -17,7 +16,7 @@ describe('App', () => {
|
||||
let timeout;
|
||||
const resolve = () => setTimeout(() => {
|
||||
clearTimeout(timeout);
|
||||
agent = supertest.agent(require('hydrooj/src/service/server').httpServer);
|
||||
agent = supertest.agent(require('hydrooj').httpServer);
|
||||
done();
|
||||
}, 2000);
|
||||
process.send = ((send) => (data) => {
|
||||
|
||||
Reference in new issue
Block a user