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; +};