Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Oct 18, 2024
1 parent 8c818a6 commit 51c6a71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions tests/__snapshots__/source_maps.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ snapshot[`Source maps from CSS files 1`] = `
"/_includes/sass/button",
"/_includes/sass/button/index.scss",
"/_includes/sass/colors.scss",
"/_includes/sass/fourth.scss",
"/_includes/sass/third.scss",
"/index.scss",
"/index2.sass",
Expand All @@ -143,10 +142,10 @@ snapshot[`Source maps from CSS files 2`] = `[]`;
snapshot[`Source maps from CSS files 3`] = `
[
{
content: '{"version":3,"sourceRoot":"assets","mappings":"ACAA,4BDEQ,2DGFR,cEMA,+CLAA","sources":["index.scss","styles.css","third.scss","fourth.scss","colors.scss","index.scss","_list.scss"],"sourcesContent":["","","","","","",""],"names":[],"file":"index.css.map"}',
content: '{"version":3,"sourceRoot":"assets","mappings":"ACAA,4BCEA,2DCGA,+CHAA","sources":["index.scss","styles.css","third.scss","index.scss","_list.scss"],"sourcesContent":["","","","",""],"names":[],"file":"index.css.map"}',
data: {
basename: "index",
content: '{"version":3,"sourceRoot":"assets","mappings":"ACAA,4BDEQ,2DGFR,cEMA,+CLAA","sources":["index.scss","styles.css","third.scss","fourth.scss","colors.scss","index.scss","_list.scss"],"sourcesContent":["","","","","","",""],"names":[],"file":"index.css.map"}',
content: '{"version":3,"sourceRoot":"assets","mappings":"ACAA,4BCEA,2DCGA,+CHAA","sources":["index.scss","styles.css","third.scss","index.scss","_list.scss"],"sourcesContent":["","","","",""],"names":[],"file":"index.css.map"}',
page: [
"src",
"data",
Expand Down Expand Up @@ -200,15 +199,14 @@ snapshot[`Source maps from CSS files 3`] = `
},
},
{
content: "body{font-family:sans-serif}html{scroll-behavior:smooth;font:100% Helvetica,sans-serif}hr{color:#00f}body{color:#333;font:100% Helvetica,sans-serif}li{margin:0;padding:0;list-style:none}
content: "body{font-family:sans-serif}html{scroll-behavior:smooth;font:100% Helvetica,sans-serif}body{color:#333;font:100% Helvetica,sans-serif}li{margin:0;padding:0;list-style:none}
/*# sourceMappingURL=./index.css.map */",
data: {
basename: "index",
content: '@use "sass/bootstrap";
@use "sass/button";
@use "./_includes/sass/colors";
@import "./styles.css";
@import "./_includes/sass/colors";
@import "sass/button";
li {
@include bootstrap.list-reset;
Expand Down Expand Up @@ -241,7 +239,7 @@ li {
/*# sourceMappingURL=./index2.css.map */",
data: {
basename: "index2",
content: '@import "sass/colors"
content: '@use "sass/colors" as *
body
color: \$primary-color
Expand Down
2 changes: 1 addition & 1 deletion tests/assets/remote_files/styles3.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "variables";
@use "variables";

body {
color: $color;
Expand Down

0 comments on commit 51c6a71

Please sign in to comment.