From f99912746e0e71e9b2cb694f5510c646b1e10a53 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Thu, 6 May 2021 16:21:44 +0200 Subject: [PATCH] Inline `transform()` function --- strip-test-selectors.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/strip-test-selectors.js b/strip-test-selectors.js index 15a93878..5587c457 100644 --- a/strip-test-selectors.js +++ b/strip-test-selectors.js @@ -8,7 +8,7 @@ function isTestSelector(attribute) { return TEST_SELECTOR_PREFIX.test(attribute); } -function transform() { +module.exports = function() { return { name: 'strip-test-selectors', @@ -28,6 +28,4 @@ function transform() { }, } }; -} - -module.exports = transform; +};