From 07e69c009b74798c88e0b36660c3aa04dbbf0dbe Mon Sep 17 00:00:00 2001 From: Raja Sekar Date: Mon, 8 Jan 2018 04:51:40 +0530 Subject: [PATCH] Code changes --- .../transformation/source-maps/full/source-map.json | 4 ++-- packages/babel-helper-fixtures/src/index.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/babel-core/test/fixtures/transformation/source-maps/full/source-map.json b/packages/babel-core/test/fixtures/transformation/source-maps/full/source-map.json index 115087ad2c..93aa0c2509 100644 --- a/packages/babel-core/test/fixtures/transformation/source-maps/full/source-map.json +++ b/packages/babel-core/test/fixtures/transformation/source-maps/full/source-map.json @@ -1,7 +1,7 @@ { "version": 3, - "file": "source-maps/full/expected.js", - "sources": ["source-maps/full/actual.js"], + "file": "source-maps/full/output.js", + "sources": ["source-maps/full/input.js"], "names": [ "arr", "map", diff --git a/packages/babel-helper-fixtures/src/index.js b/packages/babel-helper-fixtures/src/index.js index 9d02acdc4c..da22a14ec6 100644 --- a/packages/babel-helper-fixtures/src/index.js +++ b/packages/babel-helper-fixtures/src/index.js @@ -84,12 +84,12 @@ export default function get(entryLoc): Array { } function push(taskName, taskDir) { - let actualLocAlias = suiteName + "/" + taskName + "/actual.js"; - let expectLocAlias = suiteName + "/" + taskName + "/expected.js"; + let actualLocAlias = suiteName + "/" + taskName + "/input.js"; + let expectLocAlias = suiteName + "/" + taskName + "/output.js"; let execLocAlias = suiteName + "/" + taskName + "/exec.js"; - let actualLoc = taskDir + "/actual.js"; - let expectLoc = taskDir + "/expected.js"; + let actualLoc = taskDir + "/input.js"; + let expectLoc = taskDir + "/output.js"; let execLoc = taskDir + "/exec.js"; const hasExecJS = fs.existsSync(execLoc);