karma-json-fixtures-preprocessor icon indicating copy to clipboard operation
karma-json-fixtures-preprocessor copied to clipboard

purpose of transformPath?

Open gustavomick opened this issue 7 years ago • 0 comments

wondering if purpose of this method is to change keys values of windows.fixture . is that, seems not to be working, also looking to source code looks that conversion is never used.

node_modules\karma-json-fixtures-preprocessor\json_fixtures.js

            // transform file path
            file.path = transformPath(file.path);
            done(util.format(template, fixtureName, content));

should not be something like

  fixtureName = transformPath(fixtureName);

i need to change those keys, thanks.

gustavomick avatar Jun 10 '17 19:06 gustavomick