diff --git a/test/basicTest.js b/test/basicTest.js index 9b6450c..147980d 100644 --- a/test/basicTest.js +++ b/test/basicTest.js @@ -12,7 +12,7 @@ describe("basic tests", function() { var requiredCss = ".required { color: blue }", requiredCssTwo = ".requiredTwo { color: cyan }", localScopedCss = ":local(.className) { background: red; }", - requiredStyle = ``, + requiredStyle = ``, existingStyle = "", checkValue = '
check
', rootDir = path.resolve(__dirname + "/../") + "/", @@ -111,7 +111,7 @@ describe("basic tests", function() { // Run let expected = [ existingStyle, - `` + `` ].join("\n"); runCompilerTest(expected, done); @@ -119,7 +119,7 @@ describe("basic tests", function() { it("attrs", function(done) { // Setup - styleLoaderOptions.attrs = {id: 'style-tag-id'}; + styleLoaderOptions.attrs = {media: 'screen'}; fs.writeFileSync( rootDir + "main.js", @@ -131,7 +131,7 @@ describe("basic tests", function() { // Run let expected = [ existingStyle, - `` + `` ].join("\n"); runCompilerTest(expected, done); @@ -200,7 +200,7 @@ describe("basic tests", function() { // Run let expected = [ existingStyle, - `` + `` ].join("\n"); runCompilerTest(expected, done); @@ -226,7 +226,7 @@ describe("basic tests", function() { // Run let expected = [ existingStyle, - `` + `` ].join("\n"); runCompilerTest(expected, done);