We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df389fb commit f52cabcCopy full SHA for f52cabc
tests/mocha.test.js
@@ -78,7 +78,8 @@ describe('test', function () {
78
assert.deepEqual(apiResult,{ batchcomplete: '' });
79
});
80
81
- it('api with login', async () => {
+ it('api with login', async function () {
82
+ this.timeout(10000);
83
if (process.env.WMF_USERNAME && process.env.WMF_PASSWORD) {
84
let api = new mw.Api({
85
ajax: {
@@ -91,7 +92,7 @@ describe('test', function () {
91
92
} else {
93
console.error('No environment variables passed for authentication!'); // soft pass
94
}
- }, 10000);
95
+ });
96
97
it('user', async () => {
98
let rights = await mw.user.getRights();
0 commit comments