Skip to content

Commit

Permalink
update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Nov 15, 2019
1 parent a0094dc commit b7d38cb
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 66 deletions.
2 changes: 0 additions & 2 deletions tests/angular_interpolation/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ exports[`logical-expression.ng 2`] = `
====================================options=====================================
parsers: ["__ng_interpolation"]
printWidth: 80
trailingComma: "es5"
| printWidth
=====================================input======================================
[
Expand Down Expand Up @@ -134,7 +133,6 @@ exports[`pipe-expression.ng 2`] = `
====================================options=====================================
parsers: ["__ng_interpolation"]
printWidth: 80
trailingComma: "es5"
| printWidth
=====================================input======================================
[
Expand Down
2 changes: 1 addition & 1 deletion tests/angular_interpolation/jsfmt.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
run_spec(__dirname, ["__ng_interpolation"], { trailingComma: "none" });
run_spec(__dirname, ["__ng_interpolation"]);
run_spec(__dirname, ["__ng_interpolation"], { trailingComma: "es5" });
run_spec(__dirname, ["__ng_interpolation"], { trailingComma: "all" });
124 changes: 62 additions & 62 deletions tests/css_scss/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports[`import_comma.scss 1`] = `
====================================options=====================================
parsers: ["scss"]
printWidth: 80
trailingComma: "none"
| printWidth
=====================================input======================================
@import "rounded-corners", "text-shadow";
Expand All @@ -18,7 +19,6 @@ exports[`import_comma.scss 2`] = `
====================================options=====================================
parsers: ["scss"]
printWidth: 80
trailingComma: "es5"
| printWidth
=====================================input======================================
@import "rounded-corners", "text-shadow";
Expand All @@ -33,6 +33,7 @@ exports[`scss.scss 1`] = `
====================================options=====================================
parsers: ["scss"]
printWidth: 80
trailingComma: "none"
| printWidth
=====================================input======================================
@media #{$g-breakpoint-tiny} {}
Expand Down Expand Up @@ -1122,188 +1123,188 @@ $global: "very-long-long-long-long-long-long-long-long-long-long-long-value" !gl
$map: (
key: value,
other-key: other-value,
other-key: other-value
);
$map: (
key: value,
other-key: other-value,
other-key: other-value
) !default;
$map: (
key: value,
other-key: other-value,
other-key: other-value
) !default;
$map: (
key: value,
other-key: other-value,
other-key: other-value
) !default;
$map: (
key: value,
other-key: other-value,
other-key: other-value
) !default;
$map: (
key: value,
other-key: other-value,
other-key: other-value
);
$map: (
key: value,
other-key: other-value,
other-key: other-value
);
$map: (
key: value,
other-key: other-value,
other-key: other-value
);
$map: (
key: value,
other-key: other-value,
other-key: other-value
);
$map: (
key: value,
other-key: other-value,
other-key: other-value
);
$map: (
key: value,
other-key: other-value,
other-key: other-value
);
$map: (
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value
);
$map: (
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value
);
$map: (
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value
);
$map: (
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value
);
$map: (
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value
);
$map: (
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-key:
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value,
very-very-very-very-very-very-very-very-very-very-very-very-very-very-very-verylong-other-value
);
$map: (
key: (
#d82d2d,
#666,
#666
),
other-key: (
#52bf4a,
#fff,
#fff
),
other-other-key: (
#c23435,
#fff,
),
#fff
)
);
$map: (
key: (
#d82d2d,
#666,
#666
),
other-key: (
#52bf4a,
#fff,
#fff
),
other-other-key: (
#c23435,
#fff,
),
#fff
)
);
$map: (
key: (
#d82d2d,
#666,
#666
),
other-key: (
#52bf4a,
#fff,
#fff
),
other-other-key: (
#c23435,
#fff,
),
#fff
)
);
$map: (
key: (
#d82d2d,
#666,
#666
),
other-key: (
#52bf4a,
#fff,
#fff
),
other-other-key: (
#c23435,
#fff,
),
#fff
)
);
$map: (
key: (
#d82d2d,
#666,
#666
),
other-key: (
#52bf4a,
#fff,
#fff
),
other-other-key: (
#c23435,
#fff,
),
#fff
)
);
$map: map-merge(
$map,
(
$key: $value,
$key: $value
)
);
$map: map-merge(
$map,
(
$key: $value,
$key: $value
)
);
$map: map-merge(
$map,
(
$key: $value,
$key: $value
)
);
$map: map-merge(
$map,
(
$key: $value,
$key: $value
)
);
$map: map-merge(
$map,
(
$key: $value,
$key: $value
)
);
$map: map-merge(
$map,
(
$key: $value,
$key: $value
)
);
Expand Down Expand Up @@ -1813,7 +1814,7 @@ a:nth-child(#{$numPerRow}n) {
$extmods: (
eot: "?",
svg: "#" + str-replace($name, " ", "_"),
svg: "#" + str-replace($name, " ", "_")
);
@mixin keyframes {
Expand All @@ -1838,18 +1839,18 @@ $colors: (
primary: (
base: #00abc9,
light: #daf1f6,
dark: #12799a,
dark: #12799a
),
secondary: (
base: #424d55,
light: #ccc,
lightest: #efefef,
dark: #404247,
dark: #404247
),
success: (
base: #bbd33e,
light: #eaf0c6,
),
light: #eaf0c6
)
);
@function color($color, $tone: "base") {
Expand Down Expand Up @@ -1890,12 +1891,12 @@ $empty-map: ();
$empty-nested-map: (
nested-key: (
empty-key: (
color: red,
),
color: red
)
),
empty-key: (),
empty-key: (),
empty-key: (),
empty-key: ()
);
$o-grid-default-config: (
Expand All @@ -1907,12 +1908,12 @@ $o-grid-default-config: (
S: 370px,
M: 610px,
L: 850px,
XL: 1090px,
XL: 1090px
),
fluid: true,
debug: false,
fixed-layout: M,
enhanced-experience: true,
enhanced-experience: true
);
$a: ();
Expand All @@ -1923,22 +1924,22 @@ $d: (null);
$threads-properties: map-merge(
$threads-properties,
(
$border-label: (),
$border-label: ()
)
);
$o-grid-default-config: (
layouts: (
S: 370px,
),
S: 370px
)
);
$map: (
key: (
value,
value
),
other-key: (
key: other-other-value,
),
key: other-other-value
)
);
a {
Expand Down Expand Up @@ -2002,7 +2003,7 @@ $my-map: (
"foo": 1,
// Comment
"bar": 2,
// Comment,
// Comment
);
[href]:hover &, // Comment
Expand Down Expand Up @@ -2055,7 +2056,6 @@ exports[`scss.scss 2`] = `
====================================options=====================================
parsers: ["scss"]
printWidth: 80
trailingComma: "es5"
| printWidth
=====================================input======================================
@media #{$g-breakpoint-tiny} {}
Expand Down
2 changes: 1 addition & 1 deletion tests/css_scss/jsfmt.spec.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
run_spec(__dirname, ["scss"], { trailingComma: "none" });
run_spec(__dirname, ["scss"]);
run_spec(__dirname, ["scss"], { trailingComma: "es5" });

0 comments on commit b7d38cb

Please sign in to comment.