From dfa1fb69950804aad8207cbe551a501bc2189300 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 27 Jan 2020 17:55:08 -0500 Subject: [PATCH] add test --- .../global-with-unused-descendant/_config.js | 24 +++++++++++++++++++ .../expected.css | 0 .../input.svelte | 5 ++++ 3 files changed, 29 insertions(+) create mode 100644 test/css/samples/global-with-unused-descendant/_config.js create mode 100644 test/css/samples/global-with-unused-descendant/expected.css create mode 100644 test/css/samples/global-with-unused-descendant/input.svelte diff --git a/test/css/samples/global-with-unused-descendant/_config.js b/test/css/samples/global-with-unused-descendant/_config.js new file mode 100644 index 0000000000..3ed2dd2728 --- /dev/null +++ b/test/css/samples/global-with-unused-descendant/_config.js @@ -0,0 +1,24 @@ +export default { + warnings: [{ + code: 'css-unused-selector', + end: { + character: 27, + column: 19, + line: 2 + }, + frame: ` + 1: