diff --git a/test/techs/bh-bundle/browser--global.test.js b/test/techs/bh-bundle/browser--global.test.js index 074e91a..74061bd 100644 --- a/test/techs/bh-bundle/browser--global.test.js +++ b/test/techs/bh-bundle/browser--global.test.js @@ -104,11 +104,8 @@ function runTest(testContent, options, template, lib) { fileList.loadFromDirSync('blocks'); bundle.provideTechData('?.files', fileList); - return bundle.runTechAndGetContent(Tech, options) - .spread(function (BH) { - // TODO: удалить, когда пофиксится https://github.com/enb-make/enb/issues/224 - fs.writeFileSync('bundle/bundle.bh.js', BH); - + return bundle.runTech(Tech, options) + .then(function () { return runServer(3000); }); } diff --git a/test/techs/bh-bundle/browser--ym.test.js b/test/techs/bh-bundle/browser--ym.test.js index 907df2a..1a54b92 100644 --- a/test/techs/bh-bundle/browser--ym.test.js +++ b/test/techs/bh-bundle/browser--ym.test.js @@ -130,11 +130,8 @@ function runTest(testContent, options, template, lib) { fileList.loadFromDirSync('blocks'); bundle.provideTechData('?.files', fileList); - return bundle.runTechAndGetContent(Tech, options) - .spread(function (bh) { - // TODO: удалить, когда пофиксится https://github.com/enb-make/enb/issues/224 - fs.writeFileSync('bundle/bundle.bh.js', bh); - + return bundle.runTech(Tech, options) + .then(function () { return runServer(3000); }); }