diff --git a/test/specs/parser/index.js b/test/specs/parser/index.js index 19f35cd48..b6df8ec7e 100644 --- a/test/specs/parser/index.js +++ b/test/specs/parser/index.js @@ -1,5 +1,5 @@ -const ParserHtml = require('./model/ParserHtml'); -const ParserCss = require('./model/ParserCss'); +import ParserHtml from './model/ParserHtml'; +import ParserCss from './model/ParserCss'; describe('Parser', () => { ParserHtml.run(); diff --git a/test/specs/parser/model/ParserCss.js b/test/specs/parser/model/ParserCss.js index 504eb049a..c56d323cc 100644 --- a/test/specs/parser/model/ParserCss.js +++ b/test/specs/parser/model/ParserCss.js @@ -1,6 +1,5 @@ import { parseSelector } from 'parser/model/BrowserParserCss'; -const ParserCss = require('parser/model/ParserCss'); -const Selector = require('selector_manager/model/Selector'); +import ParserCss from 'parser/model/ParserCss'; module.exports = { run() { diff --git a/test/specs/parser/model/ParserHtml.js b/test/specs/parser/model/ParserHtml.js index 9bb504c22..535f930bf 100644 --- a/test/specs/parser/model/ParserHtml.js +++ b/test/specs/parser/model/ParserHtml.js @@ -1,6 +1,6 @@ -const ParserHtml = require('parser/model/ParserHtml'); -const ParserCss = require('parser/model/ParserCss'); -const DomComponents = require('dom_components'); +import ParserHtml from 'parser/model/ParserHtml'; +import ParserCss from 'parser/model/ParserCss'; +import DomComponents from 'dom_components'; module.exports = { run() {