From 6dd713461fc23e9dc8bbb5ceb855fa8560033601 Mon Sep 17 00:00:00 2001 From: andrewblond Date: Thu, 4 Jun 2015 11:57:16 +0300 Subject: [PATCH] tests: removed write file after tech build --- test/techs/bh-bundle/browser--global.test.js | 7 ++----- test/techs/bh-bundle/browser--ym.test.js | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) 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); }); }