Skip to content

Commit

Permalink
tests(css): source map comment (prettier#3962)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Feb 12, 2018
1 parent c30d280 commit 11a8d58
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/css_comments/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,21 @@ exports[`selectors.scss 1`] = `
`;

exports[`source-map.css 1`] = `
.foo {
color: red;
}
/*# sourceMappingURL=file.css.map */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.foo {
color: red;
}
/*# sourceMappingURL=file.css.map */
`;

exports[`trailing_star_slash.css 1`] = `
@media (max-width: 1) {}
a {
Expand Down
5 changes: 5 additions & 0 deletions tests/css_comments/source-map.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 11a8d58

Please sign in to comment.