Skip to content

Commit de64473

Browse files
committed
Fix index.js exports and coverage
1 parent 6e1dd48 commit de64473

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"collectCoverageFrom": [
7373
"src/*.{js,jsx}",
7474
"!src/{setupTests,shim}.js",
75-
"!src/index.js"
75+
"!src/index.{js,jsx}"
7676
],
7777
"coverageThreshold": {
7878
"global": {

src/index.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import ScrollTo from "./ScrollTo";
2-
import ScrollArea from "./ScrollArea";
3-
import ScrollToHOC from "./ScrollToHOC";
4-
5-
export { ScrollTo, ScrollArea, ScrollToHOC };
1+
export { ScrollTo } from "./ScrollTo";
2+
export { ScrollArea } from "./ScrollArea";
3+
export { ScrollToHOC } from "./ScrollToHOC";

src/index.jsx

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)