@pulumi/pulumi
Advanced tools
Comparing version 0.11.0-dev-152-g0799c2e7 to 0.11.0-dev-154-gea3c21cf
{ | ||
"name": "@pulumi/pulumi", | ||
"version": "0.11.0-dev-152-g0799c2e7", | ||
"version": "0.11.0-dev-154-gea3c21cf", | ||
"description": "Pulumi's Node.js SDK", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/pulumi/pulumi/sdk/nodejs", |
@@ -50,2 +50,3 @@ "use strict"; | ||
exports.Resource = Resource; | ||
Resource.doNotCapture = true; | ||
/** | ||
@@ -76,2 +77,3 @@ * CustomResource is a resource whose create, read, update, and delete (CRUD) operations are managed | ||
exports.CustomResource = CustomResource; | ||
CustomResource.doNotCapture = true; | ||
/** | ||
@@ -108,2 +110,4 @@ * ComponentResource is a resource that aggregates one or more other child resources into a higher | ||
exports.ComponentResource = ComponentResource; | ||
ComponentResource.doNotCapture = true; | ||
ComponentResource.prototype.registerOutputs.doNotCapture = true; | ||
/** | ||
@@ -110,0 +114,0 @@ * Output helps encode the relationship between Resources in a Pulumi application. Specifically |
export declare type MochaFunc = (err: Error) => void; | ||
export declare function asyncTest(test: () => Promise<void>): (func: MochaFunc) => void; | ||
export declare function assertAsyncThrows(test: () => Promise<void>): Promise<void>; | ||
export declare function assertAsyncThrows(test: () => Promise<void>): Promise<string>; |
@@ -36,3 +36,2 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
let thrown = false; | ||
try { | ||
@@ -42,7 +41,8 @@ yield test(); | ||
catch (err) { | ||
thrown = true; | ||
return err.message; | ||
} | ||
assert(thrown, "Function was expected to throw, but didn't"); | ||
assert(false, "Function was expected to throw, but didn't"); | ||
return ""; | ||
}); | ||
} | ||
exports.assertAsyncThrows = assertAsyncThrows; |
"use strict"; | ||
// Copyright 2016-2017, Pulumi Corporation. All rights reserved. | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = "0.11.0-dev-152-g0799c2e7"; | ||
exports.version = "0.11.0-dev-154-gea3c21cf"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
549158
14277