diff --git a/test/__snapshots__/attributes-option.test.js.snap b/test/__snapshots__/attributes-option.test.js.snap index 6893144a..ccf108a4 100644 --- a/test/__snapshots__/attributes-option.test.js.snap +++ b/test/__snapshots__/attributes-option.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`attributes option should add attributes to tag when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` +exports[`"attributes" option should add attributes to tag when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` " style-loader test @@ -20,11 +20,11 @@ h1 { " `; -exports[`attributes option should add attributes to tag when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "lazyStyleTag": DOM 1`] = ` +exports[`"attributes" option should add attributes to tag when the "injectType" option is "lazyStyleTag": DOM 1`] = ` " style-loader test @@ -44,11 +44,11 @@ exports[`attributes option should add attributes to tag when the "injectType" op " `; -exports[`attributes option should add attributes to tag when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "linkTag": DOM 1`] = ` +exports[`"attributes" option should add attributes to tag when the "injectType" option is "linkTag": DOM 1`] = ` " style-loader test @@ -62,11 +62,11 @@ exports[`attributes option should add attributes to tag when the "injectType" op " `; -exports[`attributes option should add attributes to tag when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"attributes" option should add attributes to tag when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -86,11 +86,11 @@ h1 { " `; -exports[`attributes option should add attributes to tag when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "styleTag": DOM 1`] = ` +exports[`"attributes" option should add attributes to tag when the "injectType" option is "styleTag": DOM 1`] = ` " style-loader test @@ -110,11 +110,11 @@ exports[`attributes option should add attributes to tag when the "injectType" op " `; -exports[`attributes option should add attributes to tag when the "injectType" option is "styleTag": errors 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "styleTag": errors 1`] = `Array []`; -exports[`attributes option should add attributes to tag when the "injectType" option is "styleTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add attributes to tag when the "injectType" option is "styleTag": warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "lazySingletonStyleTag" #2: DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazySingletonStyleTag" #2: DOM 1`] = ` " style-loader test @@ -131,11 +131,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "lazySingletonStyleTag" #2: errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazySingletonStyleTag" #2: errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "lazySingletonStyleTag" #2: warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazySingletonStyleTag" #2: warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` " style-loader test @@ -152,11 +152,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "lazyStyleTag" #2: DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazyStyleTag" #2: DOM 1`] = ` " style-loader test @@ -173,11 +173,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "lazyStyleTag" #2: errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazyStyleTag" #2: errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "lazyStyleTag" #2: warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazyStyleTag" #2: warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "lazyStyleTag": DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazyStyleTag": DOM 1`] = ` " style-loader test @@ -194,11 +194,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "linkTag" #2: DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "linkTag" #2: DOM 1`] = ` " style-loader test @@ -212,11 +212,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "linkTag" #2: errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "linkTag" #2: errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "linkTag" #2: warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "linkTag" #2: warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "linkTag": DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "linkTag": DOM 1`] = ` " style-loader test @@ -230,11 +230,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "singletonStyleTag" #2: DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "singletonStyleTag" #2: DOM 1`] = ` " style-loader test @@ -251,11 +251,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "singletonStyleTag" #2: errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "singletonStyleTag" #2: errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "singletonStyleTag" #2: warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "singletonStyleTag" #2: warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -272,11 +272,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "styleTag" #2: DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "styleTag" #2: DOM 1`] = ` " style-loader test @@ -293,11 +293,11 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "styleTag" #2: errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "styleTag" #2: errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "styleTag" #2: warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "styleTag" #2: warnings 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "styleTag": DOM 1`] = ` +exports[`"attributes" option should add nonce attribute when "injectType" option is "styleTag": DOM 1`] = ` " style-loader test @@ -314,6 +314,6 @@ exports[`attributes option should add nonce attribute when "injectType" option i " `; -exports[`attributes option should add nonce attribute when "injectType" option is "styleTag": errors 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "styleTag": errors 1`] = `Array []`; -exports[`attributes option should add nonce attribute when "injectType" option is "styleTag": warnings 1`] = `Array []`; +exports[`"attributes" option should add nonce attribute when "injectType" option is "styleTag": warnings 1`] = `Array []`; diff --git a/test/__snapshots__/base-option.test.js.snap b/test/__snapshots__/base-option.test.js.snap index b11e58c8..357954bd 100644 --- a/test/__snapshots__/base-option.test.js.snap +++ b/test/__snapshots__/base-option.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`base option should work: DOM 1`] = ` +exports[`"base" option should work: DOM 1`] = ` " style-loader test @@ -20,6 +20,6 @@ exports[`base option should work: DOM 1`] = ` " `; -exports[`base option should work: errors 1`] = `Array []`; +exports[`"base" option should work: errors 1`] = `Array []`; -exports[`base option should work: warnings 1`] = `Array []`; +exports[`"base" option should work: warnings 1`] = `Array []`; diff --git a/test/__snapshots__/injectType-option.test.js.snap b/test/__snapshots__/injectType-option.test.js.snap index 1591f1bb..638d059d 100644 --- a/test/__snapshots__/injectType-option.test.js.snap +++ b/test/__snapshots__/injectType-option.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`injectType option should work when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` +exports[`"injectType" option should work when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` " style-loader test @@ -20,11 +20,11 @@ h1 { " `; -exports[`injectType option should work when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "lazyStyleTag": DOM 1`] = ` +exports[`"injectType" option should work when the "injectType" option is "lazyStyleTag": DOM 1`] = ` " style-loader test @@ -44,11 +44,11 @@ exports[`injectType option should work when the "injectType" option is "lazyStyl " `; -exports[`injectType option should work when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "linkTag": DOM 1`] = ` +exports[`"injectType" option should work when the "injectType" option is "linkTag": DOM 1`] = ` " style-loader test @@ -62,11 +62,11 @@ exports[`injectType option should work when the "injectType" option is "linkTag" " `; -exports[`injectType option should work when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"injectType" option should work when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -86,11 +86,11 @@ h1 { " `; -exports[`injectType option should work when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "styleTag": DOM 1`] = ` +exports[`"injectType" option should work when the "injectType" option is "styleTag": DOM 1`] = ` " style-loader test @@ -110,6 +110,6 @@ exports[`injectType option should work when the "injectType" option is "styleTag " `; -exports[`injectType option should work when the "injectType" option is "styleTag": errors 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "styleTag": errors 1`] = `Array []`; -exports[`injectType option should work when the "injectType" option is "styleTag": warnings 1`] = `Array []`; +exports[`"injectType" option should work when the "injectType" option is "styleTag": warnings 1`] = `Array []`; diff --git a/test/__snapshots__/insert-option.test.js.snap b/test/__snapshots__/insert-option.test.js.snap index 99f07e79..7ee5b230 100644 --- a/test/__snapshots__/insert-option.test.js.snap +++ b/test/__snapshots__/insert-option.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` " style-loader test @@ -20,11 +20,11 @@ h1 { " `; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "lazyStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "lazyStyleTag": DOM 1`] = ` " style-loader test @@ -44,11 +44,11 @@ exports[`insert option should insert styles into "body" bottom when the "injectT " `; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "linkTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "linkTag": DOM 1`] = ` " style-loader test @@ -62,11 +62,11 @@ exports[`insert option should insert styles into "body" bottom when the "injectT " `; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -86,11 +86,11 @@ h1 { " `; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "styleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "styleTag": DOM 1`] = ` " style-loader test @@ -110,11 +110,11 @@ exports[`insert option should insert styles into "body" bottom when the "injectT " `; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "styleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "styleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "body" bottom when the "injectType" option is "styleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "body" bottom when the "injectType" option is "styleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` " style-loader test @@ -134,11 +134,11 @@ h1 { " `; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "lazyStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "lazyStyleTag": DOM 1`] = ` " style-loader test @@ -158,11 +158,11 @@ exports[`insert option should insert styles into "div.target" bottom when the "i " `; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "linkTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "linkTag": DOM 1`] = ` " style-loader test @@ -176,11 +176,11 @@ exports[`insert option should insert styles into "div.target" bottom when the "i " `; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -200,11 +200,11 @@ h1 { " `; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "styleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "styleTag": DOM 1`] = ` " style-loader test @@ -224,11 +224,11 @@ exports[`insert option should insert styles into "div.target" bottom when the "i " `; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "styleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "styleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "div.target" bottom when the "injectType" option is "styleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "div.target" bottom when the "injectType" option is "styleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` " style-loader test @@ -248,11 +248,11 @@ h1 { " `; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazyStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazyStyleTag": DOM 1`] = ` " style-loader test @@ -272,11 +272,11 @@ exports[`insert option should insert styles into "head" bottom when not specifie " `; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "linkTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "linkTag": DOM 1`] = ` " style-loader test @@ -290,11 +290,11 @@ exports[`insert option should insert styles into "head" bottom when not specifie " `; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -314,11 +314,11 @@ h1 { " `; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "styleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "styleTag": DOM 1`] = ` " style-loader test @@ -338,11 +338,11 @@ exports[`insert option should insert styles into "head" bottom when not specifie " `; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "styleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "styleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "head" bottom when not specified and when the "injectType" option is "styleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" bottom when not specified and when the "injectType" option is "styleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "head" top when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "head" top when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` " @@ -404,11 +404,11 @@ exports[`insert option should insert styles into "head" top when the "injectType " `; -exports[`insert option should insert styles into "head" top when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" top when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "head" top when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "head" top when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "head" top when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "head" top when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " @@ -470,9 +470,9 @@ exports[`insert option should insert styles into "iframe.iframeTarget" bottom wh " `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazySingletonStyleTag": iframe head 1`] = ` +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazySingletonStyleTag": iframe head 1`] = ` "" `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazyStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazyStyleTag": DOM 1`] = ` " style-loader test @@ -498,9 +498,9 @@ exports[`insert option should insert styles into "iframe.iframeTarget" bottom wh " `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazyStyleTag": iframe head 1`] = ` +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazyStyleTag": iframe head 1`] = ` "" `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "linkTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "linkTag": DOM 1`] = ` " style-loader test @@ -526,13 +526,13 @@ exports[`insert option should insert styles into "iframe.iframeTarget" bottom wh " `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "linkTag": iframe head 1`] = `""`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "linkTag": iframe head 1`] = `""`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -546,9 +546,9 @@ exports[`insert option should insert styles into "iframe.iframeTarget" bottom wh " `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "singletonStyleTag": iframe head 1`] = ` +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "singletonStyleTag": iframe head 1`] = ` "" `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "styleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "styleTag": DOM 1`] = ` " style-loader test @@ -574,9 +574,9 @@ exports[`insert option should insert styles into "iframe.iframeTarget" bottom wh " `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "styleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "styleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "styleTag": iframe head 1`] = ` +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "styleTag": iframe head 1`] = ` "" `; -exports[`insert option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "styleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into "iframe.iframeTarget" bottom when the "injectType" option is "styleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into before "#existing-style" id when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into before "#existing-style" id when the "injectType" option is "lazySingletonStyleTag": DOM 1`] = ` " style-loader test @@ -650,11 +650,11 @@ exports[`insert option should insert styles into before "#existing-style" id whe " `; -exports[`insert option should insert styles into before "#existing-style" id when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into before "#existing-style" id when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into before "#existing-style" id when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into before "#existing-style" id when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into before "#existing-style" id when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into before "#existing-style" id when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -722,11 +722,11 @@ h1 { " `; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "lazySingletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "lazySingletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "lazyStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "lazyStyleTag": DOM 1`] = ` " style-loader test @@ -746,11 +746,11 @@ exports[`insert option should insert styles into runtime created element bottom " `; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "lazyStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "lazyStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "linkTag": DOM 1`] = ` +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "linkTag": DOM 1`] = ` " style-loader test @@ -764,11 +764,11 @@ exports[`insert option should insert styles into runtime created element bottom
" `; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "linkTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "linkTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "linkTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "linkTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "singletonStyleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "singletonStyleTag": DOM 1`] = ` " style-loader test @@ -788,11 +788,11 @@ h1 { " `; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "singletonStyleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "singletonStyleTag": warnings 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "styleTag": DOM 1`] = ` +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "styleTag": DOM 1`] = ` " style-loader test @@ -812,6 +812,6 @@ exports[`insert option should insert styles into runtime created element bottom " `; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "styleTag": errors 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "styleTag": errors 1`] = `Array []`; -exports[`insert option should insert styles into runtime created element bottom when the "injectType" option is "styleTag": warnings 1`] = `Array []`; +exports[`"insert" option should insert styles into runtime created element bottom when the "injectType" option is "styleTag": warnings 1`] = `Array []`; diff --git a/test/attributes-option.test.js b/test/attributes-option.test.js index 2868190a..82735287 100644 --- a/test/attributes-option.test.js +++ b/test/attributes-option.test.js @@ -7,7 +7,7 @@ import { runInJsDom, } from './helpers/index'; -describe('attributes option', () => { +describe('"attributes" option', () => { const injectTypes = [ 'styleTag', 'singletonStyleTag', diff --git a/test/base-option.test.js b/test/base-option.test.js index f76e9a2a..372dbe3f 100644 --- a/test/base-option.test.js +++ b/test/base-option.test.js @@ -6,7 +6,7 @@ import { runInJsDom, } from './helpers/index'; -describe('base option', () => { +describe('"base" option', () => { it('should work', async () => { expect.assertions(3); diff --git a/test/injectType-option.test.js b/test/injectType-option.test.js index 26cec3df..38b6d957 100644 --- a/test/injectType-option.test.js +++ b/test/injectType-option.test.js @@ -9,7 +9,7 @@ import { runInJsDom, } from './helpers/index'; -describe('injectType option', () => { +describe('"injectType" option', () => { const injectTypes = [ 'styleTag', 'singletonStyleTag', diff --git a/test/insert-option.test.js b/test/insert-option.test.js index 7692ba86..3901f9b4 100644 --- a/test/insert-option.test.js +++ b/test/insert-option.test.js @@ -8,7 +8,7 @@ import { runInJsDom, } from './helpers/index'; -describe('insert option', () => { +describe('"insert" option', () => { const injectTypes = [ 'styleTag', 'singletonStyleTag',