summaryrefslogtreecommitdiff
path: root/packages/astro/test/0-css.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/test/0-css.test.js')
-rw-r--r--packages/astro/test/0-css.test.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/astro/test/0-css.test.js b/packages/astro/test/0-css.test.js
index 9a05074fb..9371673d4 100644
--- a/packages/astro/test/0-css.test.js
+++ b/packages/astro/test/0-css.test.js
@@ -45,9 +45,7 @@ describe('CSS', function () {
if (/^data-astro-cid-[A-Za-z0-9-]+/.test(key)) {
// Ema: this is ugly, but for reasons that I don't want to explore, cheerio
// lower case the hash of the attribute
- scopedAttribute = key
- .toUpperCase()
- .replace('data-astro-cid-'.toUpperCase(), 'data-astro-cid-');
+ scopedAttribute = key;
}
}
if (!scopedAttribute) {