diff --git a/test/fixtures/insert/index3.js b/test/fixtures/insert/index3.js index 0f7c25d..b6a4907 100644 --- a/test/fixtures/insert/index3.js +++ b/test/fixtures/insert/index3.js @@ -1,4 +1,4 @@ -import '../../assets/actual_a.scss'; -import './index3.css'; +import './nested-styles.scss'; +import './index'; const yetAnotherOp = () => null; diff --git a/test/fixtures/insert/nested-style-1.scss b/test/fixtures/insert/nested-style-1.scss new file mode 100644 index 0000000..6616f83 --- /dev/null +++ b/test/fixtures/insert/nested-style-1.scss @@ -0,0 +1,3 @@ +body { + font-size: 1rem; +} diff --git a/test/fixtures/insert/nested-style-2.scss b/test/fixtures/insert/nested-style-2.scss new file mode 100644 index 0000000..ea1e941 --- /dev/null +++ b/test/fixtures/insert/nested-style-2.scss @@ -0,0 +1,4 @@ +body { + margin: 0; + padding: 0; +} diff --git a/test/fixtures/insert/nested-styles.scss b/test/fixtures/insert/nested-styles.scss new file mode 100644 index 0000000..efb8b18 --- /dev/null +++ b/test/fixtures/insert/nested-styles.scss @@ -0,0 +1,6 @@ +@import "./nested-style-1"; +@import "./nested-style-2"; + +body { + display: grid; +}