diff --git a/test/espower_option_test.js b/test/espower_option_test.js
index <HASH>..<HASH> 100644
--- a/test/espower_option_test.js
+++ b/test/espower_option_test.js
@@ -430,7 +430,7 @@ describe('sourceRoot option', function () {
     function sourceRootTest (testName, config) {
         it(testName, function () {
             var jsCode = 'assert(falsyStr);';
-            var jsAST = acorn.parse(jsCode, {ecmaVersion: 6, locations: true, sourceFile: config.path});
+            var jsAST = acorn.parse(jsCode, {ecmaVersion: 6, locations: true, sourceFile: config.incomingFilepath});
             var espoweredAST = espower(jsAST, {
                 path: config.incomingFilepath,
                 sourceRoot: config.espowerSourceRoot
chore(espower): fix paths test that does not use `incomingFilepath`