Skip to content

Commit

Permalink
test: 更新测试用例
Browse files Browse the repository at this point in the history
  • Loading branch information
hxfdarling committed Feb 25, 2020
1 parent b66ca24 commit 5fabd41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/index.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
process.env.BIFROST = 'true';
process.env.PORT = '1234';
process.env.BIFROST_SERVER = 'true';
require('./index');
const { createServer } = require('http');

Expand All @@ -9,7 +10,7 @@ describe('test suites', () => {
res.write('data');
res.end();
});
s.listen(88);
s.listen(80);
s.close(done);
});
});

0 comments on commit 5fabd41

Please sign in to comment.