Merge pull request #2624 from thelounge/xpaw/test-fix
Increase delay between links to remove random test failure
This commit is contained in:
commit
45b87ea905
@ -492,8 +492,10 @@ describe("Link plugin", function() {
|
||||
this.irc.language = "first language";
|
||||
link(this.irc, this.network.channels[0], message);
|
||||
|
||||
setTimeout(() => {
|
||||
this.irc.language = "second language";
|
||||
link(this.irc, this.network.channels[0], message);
|
||||
}, 100);
|
||||
|
||||
app.get("/basic-og-once-lang", function(req, res) {
|
||||
requests.push(req.header("accept-language"));
|
||||
|
Loading…
Reference in New Issue
Block a user