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 () { }) it('Should rebuild native modules on Node ABI change', async function () { - this.timeout(50000) + this.timeout(60000) const removeNativeModule = async () => { await remove(join(baseNativeModule, 'build')) @@ -377,6 +377,8 @@ describe('Test plugins', function () { await server.kill() await server.run() + await wait(3000) + expect(await pathExists(join(baseNativeModule, 'build'))).to.be.true expect(await pathExists(join(baseNativeModule, 'prebuilds'))).to.be.true