Comparing version 0.13.0 to 0.13.1
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="0.13.1"></a> | ||
## [0.13.1](https://github.com/Igmat/baset/compare/v0.13.0...v0.13.1) (2018-06-02) | ||
### Performance Improvements | ||
* **cli:** options for isolated context ([ec05bfa](https://github.com/Igmat/baset/commit/ec05bfa)) | ||
<a name="0.13.0"></a> | ||
@@ -8,0 +19,0 @@ # [0.13.0](https://github.com/Igmat/baset/compare/v0.12.1...v0.13.0) (2018-05-31) |
@@ -42,2 +42,7 @@ "use strict"; | ||
}, | ||
isolateContext: { | ||
type: 'boolean', | ||
describe: 'Run each test in isolated context. ATTENTION: this will slow down your tests', | ||
default: false, | ||
}, | ||
}, | ||
@@ -47,3 +52,3 @@ handler: (argv) => __awaiter(this, void 0, void 0, function* () { | ||
const [allSpecs, allBaselines] = yield Promise.all([glob_promise_1.default(argv.specs), glob_promise_1.default(argv.bases)]); | ||
const tester = new baset_core_1.Tester(argv.plugins, argv.options); | ||
const tester = new baset_core_1.Tester(argv.plugins, argv.options, argv.isolateContext); | ||
const specs = allSpecs.filter(filterNodeModules); | ||
@@ -50,0 +55,0 @@ const baselines = allBaselines.filter(filterNodeModules); |
@@ -13,3 +13,4 @@ import { ITestGroupOptions, utils } from 'baset-core'; | ||
imports?: string[] | string; | ||
isolateContext?: boolean; | ||
} | ||
export declare const options: utils.IDictionary<Options>; |
@@ -19,2 +19,3 @@ "use strict"; | ||
imports, | ||
isolateContext: false, | ||
}; | ||
@@ -41,2 +42,3 @@ } | ||
: []).map(resolveModule), | ||
isolateContext: !!plugins.isolateContext, | ||
}; | ||
@@ -43,0 +45,0 @@ } |
{ | ||
"name": "baset-cli", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"description": "CLI for BaseT project.", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"@types/yargs": "^10.0.1", | ||
"baset": "^0.13.0", | ||
"baset": "^0.13.1", | ||
"doctoc": "^1.3.0", | ||
@@ -42,3 +42,3 @@ "tslint": "^5.9.1", | ||
"dependencies": { | ||
"baset-core": "^0.13.0", | ||
"baset-core": "^0.13.1", | ||
"find-up": "^2.1.0", | ||
@@ -45,0 +45,0 @@ "glob": "^7.1.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
35003
412
Updatedbaset-core@^0.13.1