-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Carlos Israel Ortiz García <goodwine@google.com>
- Loading branch information
Showing
24 changed files
with
3,062 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
pkg/sass-parser/lib/src/__snapshots__/argument-list.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`an argument list toJSON 1`] = ` | ||
{ | ||
"inputs": [ | ||
{ | ||
"css": "@include x(foo, bar...)", | ||
"hasBOM": false, | ||
"id": "<input css _____>", | ||
}, | ||
], | ||
"nodes": [ | ||
<foo>, | ||
<bar...>, | ||
], | ||
"raws": {}, | ||
"sassType": "argument-list", | ||
"source": <1:11-1:24 in 0>, | ||
} | ||
`; |
50 changes: 50 additions & 0 deletions
50
pkg/sass-parser/lib/src/__snapshots__/argument.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`a argument toJSON with a name 1`] = ` | ||
{ | ||
"inputs": [ | ||
{ | ||
"css": "@include x($baz: qux)", | ||
"hasBOM": false, | ||
"id": "<input css _____>", | ||
}, | ||
], | ||
"name": "baz", | ||
"raws": {}, | ||
"rest": false, | ||
"sassType": "argument", | ||
"value": <qux>, | ||
} | ||
`; | ||
exports[`a argument toJSON with no name 1`] = ` | ||
{ | ||
"inputs": [ | ||
{ | ||
"css": "@include x(qux)", | ||
"hasBOM": false, | ||
"id": "<input css _____>", | ||
}, | ||
], | ||
"raws": {}, | ||
"rest": false, | ||
"sassType": "argument", | ||
"value": <qux>, | ||
} | ||
`; | ||
exports[`a argument toJSON with rest 1`] = ` | ||
{ | ||
"inputs": [ | ||
{ | ||
"css": "@include x(qux...)", | ||
"hasBOM": false, | ||
"id": "<input css _____>", | ||
}, | ||
], | ||
"raws": {}, | ||
"rest": true, | ||
"sassType": "argument", | ||
"value": <qux>, | ||
} | ||
`; |
Oops, something went wrong.