-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ismay
committed
Feb 1, 2018
1 parent
cb69f89
commit e62f917
Showing
3 changed files
with
138 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,125 +1,119 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`stylelint-no-unsupported-browser-features ignore option should ignore a single property 1`] = ` | ||
Array [ | ||
Object { | ||
"deprecations": Array [], | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"source": "<input css 5>", | ||
"warnings": Array [], | ||
}, | ||
] | ||
Object { | ||
"deprecations": Array [], | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"warnings": Array [], | ||
} | ||
`; | ||
|
||
exports[`stylelint-no-unsupported-browser-features ignore option should ignore multiple properties 1`] = ` | ||
Array [ | ||
Object { | ||
"deprecations": Array [], | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"source": "<input css 6>", | ||
"warnings": Array [], | ||
}, | ||
] | ||
Object { | ||
"deprecations": Array [], | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"warnings": Array [], | ||
} | ||
`; | ||
|
||
exports[`stylelint-no-unsupported-browser-features multiple browsers should allow display:table for IE 8 and IE 9 1`] = ` | ||
Array [ | ||
Object { | ||
"deprecations": Array [], | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"source": "<input css 3>", | ||
"warnings": Array [], | ||
}, | ||
] | ||
Object { | ||
"deprecations": Array [], | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"warnings": Array [], | ||
} | ||
`; | ||
|
||
exports[`stylelint-no-unsupported-browser-features multiple browsers should disallow display:table for IE 6 and IE 7 1`] = ` | ||
Array [ | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"source": "<input css 4>", | ||
"warnings": Array [ | ||
Object { | ||
"column": 7, | ||
"line": 1, | ||
"rule": "plugin/no-unsupported-browser-features", | ||
"severity": "error", | ||
"text": "Unexpected browser feature \\"css-table\\" is not supported by IE 6,7 (plugin/no-unsupported-browser-features)", | ||
}, | ||
], | ||
}, | ||
] | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"warnings": Array [ | ||
Object { | ||
"column": 7, | ||
"line": 1, | ||
"rule": "plugin/no-unsupported-browser-features", | ||
"severity": "error", | ||
"text": "Unexpected browser feature \\"css-table\\" is not supported by IE 6,7 (plugin/no-unsupported-browser-features)", | ||
}, | ||
], | ||
} | ||
`; | ||
|
||
exports[`stylelint-no-unsupported-browser-features single browser should allow display:table for IE 8 1`] = ` | ||
Array [ | ||
Object { | ||
"deprecations": Array [], | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"source": "<input css 1>", | ||
"warnings": Array [], | ||
}, | ||
] | ||
Object { | ||
"deprecations": Array [], | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"warnings": Array [], | ||
} | ||
`; | ||
|
||
exports[`stylelint-no-unsupported-browser-features single browser should disallow display:table for IE 6 1`] = ` | ||
Array [ | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"source": "<input css 2>", | ||
"warnings": Array [ | ||
Object { | ||
"column": 7, | ||
"line": 1, | ||
"rule": "plugin/no-unsupported-browser-features", | ||
"severity": "error", | ||
"text": "Unexpected browser feature \\"css-table\\" is not supported by IE 6 (plugin/no-unsupported-browser-features)", | ||
}, | ||
], | ||
}, | ||
] | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"warnings": Array [ | ||
Object { | ||
"column": 7, | ||
"line": 1, | ||
"rule": "plugin/no-unsupported-browser-features", | ||
"severity": "error", | ||
"text": "Unexpected browser feature \\"css-table\\" is not supported by IE 6 (plugin/no-unsupported-browser-features)", | ||
}, | ||
], | ||
} | ||
`; | ||
|
||
exports[`stylelint-no-unsupported-browser-features single browser should disallow rems for IE 9 1`] = ` | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [], | ||
"parseErrors": Array [], | ||
"warnings": Array [ | ||
Object { | ||
"column": 7, | ||
"line": 1, | ||
"rule": "plugin/no-unsupported-browser-features", | ||
"severity": "error", | ||
"text": "Unexpected browser feature \\"rem\\" is only partially supported by IE 9 (plugin/no-unsupported-browser-features)", | ||
}, | ||
], | ||
} | ||
`; | ||
|
||
exports[`stylelint-no-unsupported-browser-features validate options should validate the browsers option 1`] = ` | ||
Array [ | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [ | ||
Object { | ||
"text": "Invalid value \\"1\\" for option \\"browsers\\" of rule \\"plugin/no-unsupported-browser-features\\"", | ||
}, | ||
], | ||
"parseErrors": Array [], | ||
"source": "<input css 7>", | ||
"warnings": Array [], | ||
}, | ||
] | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [ | ||
Object { | ||
"text": "Invalid value \\"1\\" for option \\"browsers\\" of rule \\"plugin/no-unsupported-browser-features\\"", | ||
}, | ||
], | ||
"parseErrors": Array [], | ||
"warnings": Array [], | ||
} | ||
`; | ||
|
||
exports[`stylelint-no-unsupported-browser-features validate options should validate the ignore option 1`] = ` | ||
Array [ | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [ | ||
Object { | ||
"text": "Invalid value \\"1\\" for option \\"ignore\\" of rule \\"plugin/no-unsupported-browser-features\\"", | ||
}, | ||
], | ||
"parseErrors": Array [], | ||
"source": "<input css 8>", | ||
"warnings": Array [], | ||
}, | ||
] | ||
Object { | ||
"deprecations": Array [], | ||
"errored": true, | ||
"invalidOptionWarnings": Array [ | ||
Object { | ||
"text": "Invalid value \\"1\\" for option \\"ignore\\" of rule \\"plugin/no-unsupported-browser-features\\"", | ||
}, | ||
], | ||
"parseErrors": Array [], | ||
"warnings": Array [], | ||
} | ||
`; |
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