@babel/helper-fixtures
Advanced tools
Comparing version 7.0.0-beta.51 to 7.0.0-beta.52
@@ -237,2 +237,16 @@ "use strict"; | ||
} | ||
if (taskOpts.throws) { | ||
if (test.expect.code) { | ||
throw new Error("Test cannot throw and also return output code: " + expectLoc); | ||
} | ||
if (test.sourceMappings) { | ||
throw new Error("Test cannot throw and also return sourcemappings: " + sourceMappingsLoc); | ||
} | ||
if (test.sourceMap) { | ||
throw new Error("Test cannot throw and also return sourcemaps: " + sourceMapLoc); | ||
} | ||
} | ||
} | ||
@@ -239,0 +253,0 @@ } |
{ | ||
"name": "@babel/helper-fixtures", | ||
"version": "7.0.0-beta.51", | ||
"version": "7.0.0-beta.52", | ||
"description": "Helper function to support fixtures", | ||
@@ -5,0 +5,0 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", |
@@ -5,3 +5,3 @@ # @babel/helper-fixtures | ||
See our website [@babel/helper-fixtures](https://new.babeljs.io/docs/en/next/babel-helper-fixtures.html) for more information. | ||
See our website [@babel/helper-fixtures](https://babeljs.io/docs/en/next/babel-helper-fixtures.html) for more information. | ||
@@ -13,3 +13,3 @@ ## Install | ||
```sh | ||
npm install --save @babel/helper-fixtures | ||
npm install --save-dev @babel/helper-fixtures | ||
``` | ||
@@ -20,3 +20,3 @@ | ||
```sh | ||
yarn add --save @babel/helper-fixtures | ||
yarn add @babel/helper-fixtures --dev | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7837
210