Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should return the proper pre-release version in the outPath', async () => {
eidStub.transformVersion = require('electron-installer-debian').transformVersion;
packageJSON.version = '1.2.3-beta.4';
const outPath = await debMaker({ dir, appName, targetArch, forgeConfig, packageJSON });
expect(outPath).to.match(/1\.2\.3~beta\.4/);
});
}