Skip to content

Commit

Permalink
Inline transform() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed May 6, 2021
1 parent a591926 commit f999127
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions strip-test-selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function isTestSelector(attribute) {
return TEST_SELECTOR_PREFIX.test(attribute);
}

function transform() {
module.exports = function() {
return {
name: 'strip-test-selectors',

Expand All @@ -28,6 +28,4 @@ function transform() {
},
}
};
}

module.exports = transform;
};

0 comments on commit f999127

Please sign in to comment.