mockserver icon indicating copy to clipboard operation
mockserver copied to clipboard

Using absolute path to the mocks directory fails for custom imports

Open chribben opened this issue 6 years ago • 0 comments

Running test mockserver/mockserver()/should be able to handle imports with an absolute path to the mocks directory:

var mocksDirectory = path.join(__dirname, './mocks');

fails with

Error: ENOENT: no such file or directory, open 'Users/christianjacobsen/dev/mockserver/test/mocks/import/data.json'

chribben avatar Apr 11 '18 10:04 chribben