This repository was archived by the owner on Oct 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 63
63
" transform-class-properties" ,
64
64
" transform-export-extensions" ,
65
65
" transform-object-rest-spread"
66
- ]
66
+ ],
67
+ "env" : {
68
+ "test" : {
69
+ "presets" : [
70
+ [
71
+ " env" ,
72
+ {
73
+ "modules" : " commonjs"
74
+ }
75
+ ]
76
+ ],
77
+ "plugins" : [
78
+ " transform-class-properties" ,
79
+ " transform-export-extensions" ,
80
+ " transform-object-rest-spread"
81
+ ]
82
+ }
83
+ }
67
84
},
68
85
"eslintConfig" : {
69
86
"parser" : " babel-eslint" ,
88
105
"no-unused-vars" : 2
89
106
}
90
107
},
108
+ "jest" : {
109
+ "transformIgnorePatterns" : [
110
+ " /node_modules(?!/@bufferapp/components)/"
111
+ ],
112
+ "verbose" : true
113
+ },
91
114
"publishConfig" : {
92
115
"access" : " public"
93
116
}
Original file line number Diff line number Diff line change 1
- import { reducer , actions , actionTypes } from './index'
1
+ import { reducer , actions , actionTypes } from '../src /index'
2
2
3
3
describe ( 'ProfileSidebar' , ( ) => {
4
4
it ( 'should export reducer' , ( ) => {
Original file line number Diff line number Diff line change 1
1
import deepFreeze from 'deep-freeze'
2
- import reducer from './reducer'
2
+ import reducer from '../src /reducer'
3
3
4
4
describe ( 'reducer' , ( ) => {
5
5
it ( 'should initialize default state' , ( ) => {
You can’t perform that action at this time.
0 commit comments