From 0898f103dc73d873e55bd29558060a9e3717519b Mon Sep 17 00:00:00 2001 From: miripiruni Date: Wed, 15 Mar 2017 15:36:49 +0300 Subject: [PATCH] Tests: revert mock bem-xjst bundles See https://github.com/bem/bem-xjst/commit/d6323faa7c1b0db01bc6fa504f9a14d31dc7ab2d --- test/techs/bemhtml.test.js | 4 ---- test/techs/bemtree.test.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/test/techs/bemhtml.test.js b/test/techs/bemhtml.test.js index 7c98aef..963d194 100644 --- a/test/techs/bemhtml.test.js +++ b/test/techs/bemhtml.test.js @@ -301,10 +301,6 @@ function build(templates, options) { }); } - // mock for bemhtml.generate() - var bemhtmlPath = './node_modules/bem-xjst/lib/bemhtml/bundle.js' - scheme[bemhtmlPath] = require('fs').readFileSync(bemhtmlPath, 'utf8'); - mock(scheme); bundle = new MockNode('bundle'); diff --git a/test/techs/bemtree.test.js b/test/techs/bemtree.test.js index 3609a34..b766e90 100644 --- a/test/techs/bemtree.test.js +++ b/test/techs/bemtree.test.js @@ -213,10 +213,6 @@ function build(templates, options) { }); } - // mock for bemhtml.generate() - var bemtreePath = './node_modules/bem-xjst/lib/bemtree/bundle.js' - scheme[bemtreePath] = require('fs').readFileSync(bemtreePath, 'utf8'); - mock(scheme); bundle = new MockNode('bundle');