File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ describe('json-viewer', () => {
88 } ) ;
99
1010 it ( 'should return proper json property passed in params' , ( ) => {
11- const mockConfigPath = path . resolve ( ` ${ __dirname } /.. /helpers/mock/config.file.mock.json` ) ;
11+ const mockConfigPath = path . resolve ( process . cwd ( ) , 'test /helpers/mock/config.file.mock.json' ) ;
1212 const params = {
1313 _ : [
1414 mockConfigPath ,
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ describe('config', () => {
1818 } ) ;
1919
2020 describe ( 'getUserConfig' , ( ) => {
21- const jsMockConfigPath = path . resolve ( ` ${ __dirname } /.. /helpers/mock/config.file.mock.js` ) ;
22- const jsonMockConfigPath = path . resolve ( ` ${ __dirname } /.. /helpers/mock/config.file.mock.json` ) ;
21+ const jsMockConfigPath = path . resolve ( process . cwd ( ) , 'test /helpers/mock/config.file.mock.js' ) ;
22+ const jsonMockConfigPath = path . resolve ( process . cwd ( ) , 'test /helpers/mock/config.file.mock.json' ) ;
2323
2424 it ( 'should return some user config' , ( ) => {
2525 const userConfig = getUserConfig ( ) ;
You can’t perform that action at this time.
0 commit comments