From a70caffb5a92a78f10cddc38b0ba5c4a982abcf9 Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Sun, 2 Jul 2017 13:35:58 +0200 Subject: [PATCH] Disabled source maps for testing --- __tests__/binary.js | 2 +- __tests__/es2015.js | 2 +- __tests__/ie11.js | 2 +- __tests__/node8.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/__tests__/binary.js b/__tests__/binary.js index bf621e7..3b74f62 100644 --- a/__tests__/binary.js +++ b/__tests__/binary.js @@ -1,7 +1,7 @@ import { transform } from "babel-core" import buildPreset from "../src" -const options = buildPreset(null, { target: "binary" }) +const options = buildPreset(null, { target: "binary", sourceMaps: false }) // Keep formatting for tests (to keep output/diffs readable) options.minified = false diff --git a/__tests__/es2015.js b/__tests__/es2015.js index 319b548..e4ef185 100644 --- a/__tests__/es2015.js +++ b/__tests__/es2015.js @@ -1,7 +1,7 @@ import { transform } from "babel-core" import buildPreset from "../src" -const options = buildPreset(null, { modules: false, target: "es2015" }) +const options = buildPreset(null, { modules: false, target: "es2015", sourceMaps: false }) // Keep formatting for tests (to keep output/diffs readable) options.minified = false diff --git a/__tests__/ie11.js b/__tests__/ie11.js index 65689f6..c4348de 100644 --- a/__tests__/ie11.js +++ b/__tests__/ie11.js @@ -1,7 +1,7 @@ import { transform } from "babel-core" import buildPreset from "../src" -const options = buildPreset(null, { modules: false, target: { browsers: "ie 11" } }) +const options = buildPreset(null, { modules: false, target: { browsers: "ie 11" }, sourceMaps: false }) // Keep formatting for tests (to keep output/diffs readable) options.minified = false diff --git a/__tests__/node8.js b/__tests__/node8.js index a870b68..2dcb665 100644 --- a/__tests__/node8.js +++ b/__tests__/node8.js @@ -1,7 +1,7 @@ import { transform } from "babel-core" import buildPreset from "../src" -const options = buildPreset(null, { modules: false, target: { node: "8.0.0" } }) +const options = buildPreset(null, { modules: false, target: { node: "8.0.0" }, sourceMaps: false }) // Keep formatting for tests (to keep output/diffs readable) options.minified = false