diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/server/plugins.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/api/server/plugins.ts b/server/tests/api/server/plugins.ts index 15c093758..bb925a624 100644 --- a/server/tests/api/server/plugins.ts +++ b/server/tests/api/server/plugins.ts | |||
@@ -353,7 +353,7 @@ describe('Test plugins', function () { | |||
353 | }) | 353 | }) |
354 | 354 | ||
355 | it('Should rebuild native modules on Node ABI change', async function () { | 355 | it('Should rebuild native modules on Node ABI change', async function () { |
356 | this.timeout(50000) | 356 | this.timeout(60000) |
357 | 357 | ||
358 | const removeNativeModule = async () => { | 358 | const removeNativeModule = async () => { |
359 | await remove(join(baseNativeModule, 'build')) | 359 | await remove(join(baseNativeModule, 'build')) |
@@ -377,6 +377,8 @@ describe('Test plugins', function () { | |||
377 | await server.kill() | 377 | await server.kill() |
378 | await server.run() | 378 | await server.run() |
379 | 379 | ||
380 | await wait(3000) | ||
381 | |||
380 | expect(await pathExists(join(baseNativeModule, 'build'))).to.be.true | 382 | expect(await pathExists(join(baseNativeModule, 'build'))).to.be.true |
381 | expect(await pathExists(join(baseNativeModule, 'prebuilds'))).to.be.true | 383 | expect(await pathExists(join(baseNativeModule, 'prebuilds'))).to.be.true |
382 | 384 | ||