diff --git a/apps/wing-console/console/server/src/utils/test-runner/simulator-manager.ts b/apps/wing-console/console/server/src/utils/test-runner/simulator-manager.ts index 33ac09a7775..aee5c86194d 100644 --- a/apps/wing-console/console/server/src/utils/test-runner/simulator-manager.ts +++ b/apps/wing-console/console/server/src/utils/test-runner/simulator-manager.ts @@ -6,25 +6,6 @@ import { simulator } from "@winglang/sdk"; import type { Simulator } from "../../wingsdk.js"; import type { Compiler } from "../compiler.js"; -import type { ConstructTreeNode } from "../construct-tree.js"; - -const getTestPaths = (node: ConstructTreeNode) => { - const tests: string[] = []; - const children = Object.values(node.children ?? {}); - - if ( - node.constructInfo?.fqn === "@winglang/sdk.std.Test" && - children.some((child) => child.id === "Handler") - ) { - tests.push(node.path); - } - - for (const child of children) { - tests.push(...getTestPaths(child)); - } - - return tests; -}; /** * Create a simulator manager that can be used to run tests. @@ -60,9 +41,7 @@ export const createSimulatorManager = ({ const getTests = async () => { const simulator = await createSimulator(); - const { tree } = simulator.tree().rawData(); - - return getTestPaths(tree); + return simulator.tree().listTests(); }; return { diff --git a/apps/wing-console/console/server/src/utils/test-runner/test-runner.ts b/apps/wing-console/console/server/src/utils/test-runner/test-runner.ts index e6ab6bca8e7..2feac39f199 100644 --- a/apps/wing-console/console/server/src/utils/test-runner/test-runner.ts +++ b/apps/wing-console/console/server/src/utils/test-runner/test-runner.ts @@ -9,6 +9,8 @@ import { formatTraceError } from "../format-wing-error.js"; import { createSimulatorManager } from "./simulator-manager.js"; +const TEST_BATCH_SIZE = 4; + export type TestStatus = "success" | "error" | "idle" | "running"; export interface TestItem { @@ -223,26 +225,31 @@ export const createTestRunner = ({ onTestsChange(); const startTime = Date.now(); - const result = await simulatorManager.useSimulatorInstance( - async (simulator: Simulator) => { - const promises = testList.map(async (test) => { - const response = await executeTest(simulator, test.id, logger); - - testsState.setTest({ - ...test, - status: response.error ? "error" : "success", - time: response.time, - datetime: Date.now(), - }); - onTestsChange(); - - return response; - }); - return await Promise.all(promises); - }, - ); - const testPassed = result.filter((r) => r.pass); + // Run all tests in batches. + const results = new Array(); + for (const testBatch of chunk(testList, TEST_BATCH_SIZE)) { + await Promise.allSettled( + testBatch.map(async (test) => { + await simulatorManager.useSimulatorInstance( + async (simulator: Simulator) => { + const result = await executeTest(simulator, test.id, logger); + results.push(result); + + testsState.setTest({ + ...test, + status: result.error ? "error" : "success", + time: result.time, + datetime: Date.now(), + }); + onTestsChange(); + }, + ); + }), + ); + } + + const testPassed = results.filter((r) => r.pass); const time = Date.now() - startTime; const { default: prettyMs } = await import("pretty-ms"); @@ -269,3 +276,11 @@ export const createTestRunner = ({ }, }; }; + +function chunk(array: Array, groupSize: number): Array> { + const groups = []; + for (let index = 0; index < array.length; index += groupSize) { + groups.push(array.slice(index, index + groupSize)); + } + return groups; +} diff --git a/apps/wing/src/commands/test/test.test.ts b/apps/wing/src/commands/test/test.test.ts index edafbd82753..696603b5612 100644 --- a/apps/wing/src/commands/test/test.test.ts +++ b/apps/wing/src/commands/test/test.test.ts @@ -533,25 +533,25 @@ test "put" { const BUCKET_TEST_RESULT = [ { - path: "root/env0/test:put", + path: "root/Default/test:put", pass: true, traces: [ { data: { message: "Put (key=test1.txt).", status: "success" }, type: "resource", - sourcePath: "root/env0/Bucket", + sourcePath: "root/Default/Bucket", sourceType: "@winglang/sdk.cloud.Bucket", }, { data: { message: "Get (key=test1.txt).", status: "success", result: '"Foo"' }, type: "resource", - sourcePath: "root/env0/Bucket", + sourcePath: "root/Default/Bucket", sourceType: "@winglang/sdk.cloud.Bucket", }, { data: { message: "Invoke (payload=undefined).", status: "success" }, type: "resource", - sourcePath: "root/env0/test:put/Handler", + sourcePath: "root/Default/test:put/Handler", sourceType: "@winglang/sdk.cloud.Function", }, ], @@ -562,7 +562,7 @@ const OUTPUT_FILE = { results: { "test.test.w": { put: { - path: "root/env0/test:put", + path: "root/Default/test:put", pass: true, traces: [ { @@ -571,7 +571,7 @@ const OUTPUT_FILE = { status: "success", }, type: "resource", - sourcePath: "root/env0/Bucket", + sourcePath: "root/Default/Bucket", sourceType: "@winglang/sdk.cloud.Bucket", }, { @@ -581,7 +581,7 @@ const OUTPUT_FILE = { result: '"Foo"', }, type: "resource", - sourcePath: "root/env0/Bucket", + sourcePath: "root/Default/Bucket", sourceType: "@winglang/sdk.cloud.Bucket", }, { @@ -590,7 +590,7 @@ const OUTPUT_FILE = { status: "success", }, type: "resource", - sourcePath: "root/env0/test:put/Handler", + sourcePath: "root/Default/test:put/Handler", sourceType: "@winglang/sdk.cloud.Function", }, ], diff --git a/apps/wing/src/commands/test/test.ts b/apps/wing/src/commands/test/test.ts index 33c9470a5df..4042cf80e2e 100644 --- a/apps/wing/src/commands/test/test.ts +++ b/apps/wing/src/commands/test/test.ts @@ -449,21 +449,10 @@ async function testSimulator(synthDir: string, options: TestOptions) { let outputStream: SpinnerStream | undefined; let traceProcessor: TraceProcessor | undefined; + let currentTestName: string | undefined; if (options.stream) { - // As of this comment, each Wing test is associated with an isolated environment. - // (All resources for test #0 are in root/env0/..., etc.) - // This means we can use the environment number to map each environment # to a test name, - // so when we receive a trace from the simulator, we can infer which test it's associated with. - const testMappings = extractTestMappings(s.listResources()); - const printEvent = async (event: std.Trace) => { - const env = extractTestEnvFromPath(event.sourcePath); - - let testName = "(no test)"; - if (env !== undefined) { - testName = testMappings[env] ?? testName; - } - + const testName = currentTestName ?? "(no test)"; if (testFilter && !testName.includes(testFilter) && testName !== "(no test)") { // This test does not match the filter, so skip it. return; @@ -499,21 +488,30 @@ async function testSimulator(synthDir: string, options: TestOptions) { }); } + const results = []; + try { - await s.start(); + const tests = s.tree().listTests(); + const filteredTests = filterTests(tests, testFilter); + for (const t of filteredTests) { + // Set the currentTestName so all logs emitted during this test run are + // associated with the current test. + currentTestName = extractTestNameFromPath(t); + + await s.start(); + const testRunner = s.getResource( + `${options.rootId}/cloud.TestRunner` + ) as std.ITestRunnerClient; + const result = await testRunner.runTest(t); + results.push(result); + await s.stop(); + await s.resetState(); + } } catch (e) { outputStream?.stopSpinner(); throw e; } - const testRunner = s.getResource(`${options.rootId}/cloud.TestRunner`) as std.ITestRunnerClient; - const tests = await testRunner.listTests(); - const filteredTests = filterTests(tests, testFilter); - - const results = await runTests(testRunner, filteredTests); - - await s.stop(); - if (options.stream) { await traceProcessor!.finish(); outputStream!.stopSpinner(); @@ -747,20 +745,8 @@ function sortTests(a: std.TestResult, b: std.TestResult) { return a.path.localeCompare(b.path); } -/** - * Take a path like "root/env123/foo/bar" and return the environment number (123). - */ -function extractTestEnvFromPath(path: string): number | undefined { - const parts = path.split("/"); - const envPart = parts[1] ?? parts[0]; - if (!envPart.startsWith("env")) { - return undefined; - } - return parseInt(envPart.substring(3)); -} - /* - * Take a path like "root/env123/foo/test:first test/bar" and return "first test". + * Take a path like "root/foo/bar/test:first test/baz" and return "first test". */ function extractTestNameFromPath(path: string): string | undefined { const parts = path.split("/"); @@ -772,37 +758,6 @@ function extractTestNameFromPath(path: string): string | undefined { return undefined; } -/* - * Take a list of paths like: - * - * root/env0/foo - * root/env0/test:first test <-- this is a test - * root/env1/bar/test:second test <-- this is a test - * root/env1/bar - * - * and extract the mapping from environment indices to test names: - * - * { 0: "first test", 1: "second test" } - */ -function extractTestMappings(paths: string[]): Record { - const mappings: Record = {}; - for (const path of paths) { - const parts = path.split("/"); - if (parts.some((p) => p.startsWith("test:"))) { - const env = extractTestEnvFromPath(path); - if (env === undefined) { - continue; - } - const testName = extractTestNameFromPath(path); - if (testName === undefined) { - continue; - } - mappings[env] = testName; - } - } - return mappings; -} - const MAX_BUFFER = 10 * 1024 * 1024; /** diff --git a/examples/tests/invalid/unresolved_state.test.w b/examples/tests/invalid/unresolved_state.test.w index 7b4206285ef..6b5c3fa9f74 100644 --- a/examples/tests/invalid/unresolved_state.test.w +++ b/examples/tests/invalid/unresolved_state.test.w @@ -1,4 +1,4 @@ -// this test will fail because no body is setting "my_unresolved_token" during deployment. +// this test will fail because nobody is setting "my_unresolved_token" during deployment. bring sim; bring cloud; @@ -14,3 +14,7 @@ let fn = new cloud.Function( FOO_VALUE: state.token("my_unresolved_token") } ); + +test "" { + fn.invoke(); +} diff --git a/examples/tests/valid/hello.test.w b/examples/tests/valid/hello.test.w index 5c9582dd2da..8f3567d76cd 100644 --- a/examples/tests/valid/hello.test.w +++ b/examples/tests/valid/hello.test.w @@ -5,4 +5,4 @@ let queue = new cloud.Queue(); queue.setConsumer(inflight (message: str) => { bucket.put("wing.txt", "Hello, {message}"); -}); \ No newline at end of file +}); diff --git a/libs/awscdk/src/app.ts b/libs/awscdk/src/app.ts index 7627a20e4d7..d1eb2c73b0f 100644 --- a/libs/awscdk/src/app.ts +++ b/libs/awscdk/src/app.ts @@ -92,7 +92,7 @@ export class App extends core.App { this.isTestEnvironment = props.isTestEnvironment ?? false; registerTokenResolver(new CdkTokens()); - TestRunner._createTree(this, props.rootConstruct); + TestRunner._createTree(this, props.rootConstruct, this.isTestEnvironment); } /** diff --git a/libs/awscdk/src/test-runner.ts b/libs/awscdk/src/test-runner.ts index 58cb60364e9..08bcf06c4ab 100644 --- a/libs/awscdk/src/test-runner.ts +++ b/libs/awscdk/src/test-runner.ts @@ -19,7 +19,7 @@ export class TestRunner extends std.TestRunner { ); } - constructor(scope: Construct, id: string, props: std.TestRunnerProps = {}) { + constructor(scope: Construct, id: string, props: std.TestRunnerProps) { super(scope, id, props); // This output is created so the CLI's `wing test` command can obtain a list diff --git a/libs/wingsdk/src/simulator/simulator.ts b/libs/wingsdk/src/simulator/simulator.ts index d173f1cdac8..247572afef0 100644 --- a/libs/wingsdk/src/simulator/simulator.ts +++ b/libs/wingsdk/src/simulator/simulator.ts @@ -514,7 +514,7 @@ export class Simulator { await this.stop(); if (resetState) { - await rm(this.statedir, { recursive: true }); + await this.resetState(); this._traces = []; } @@ -523,6 +523,13 @@ export class Simulator { await this.start(); } + /** + * Reset the state of the simulator. + */ + public async resetState(): Promise { + await rm(this.statedir, { recursive: true }); + } + /** * Get a list of all resource paths. */ diff --git a/libs/wingsdk/src/simulator/tree.ts b/libs/wingsdk/src/simulator/tree.ts index b3fb937e55c..0320cf610c5 100644 --- a/libs/wingsdk/src/simulator/tree.ts +++ b/libs/wingsdk/src/simulator/tree.ts @@ -14,6 +14,14 @@ export class Tree { return structuredClone(this.data); } + /** + * Returns a list of all tests in the tree. + * @returns a list of all tests in the tree + */ + public listTests(): string[] { + return getTestPaths(this.data.tree); + } + /** * Returns the raw data for a specific construct node. */ @@ -31,3 +39,21 @@ export class Tree { return curr; } } + +const getTestPaths = (node: ConstructTreeNode) => { + const tests: string[] = []; + const children = Object.values(node.children ?? {}); + + if ( + node.constructInfo?.fqn === "@winglang/sdk.std.Test" && + children.some((child) => child.id === "Handler") + ) { + tests.push(node.path); + } + + for (const child of children) { + tests.push(...getTestPaths(child)); + } + + return tests; +}; diff --git a/libs/wingsdk/src/std/test-runner.ts b/libs/wingsdk/src/std/test-runner.ts index 2197c7b4c95..4f4eb1a1fd9 100644 --- a/libs/wingsdk/src/std/test-runner.ts +++ b/libs/wingsdk/src/std/test-runner.ts @@ -24,7 +24,12 @@ export enum TestRunnerInflightMethods { * Properties for `TestRunner`. * @skipDocs */ -export interface TestRunnerProps {} +export interface TestRunnerProps { + /** + * Whether multiple isolated environments have been created for testing. + */ + readonly multipleSubtrees: boolean; +} /** * A test engine. @@ -45,9 +50,11 @@ export class TestRunner extends Resource { * on how many isolated environments are needed for testing. * @internal */ - public static _createTree(app: App, Root: any) { + public static _createTree(app: App, Root: any, multipleSubtrees: boolean) { if (app.isTestEnvironment) { - app._testRunner = new TestRunner(app, "cloud.TestRunner"); + app._testRunner = new TestRunner(app, "cloud.TestRunner", { + multipleSubtrees, + }); } if (Root) { @@ -55,7 +62,7 @@ export class TestRunner extends Resource { // Node.of(root).root Node._markRoot(Root); - if (app.isTestEnvironment) { + if (multipleSubtrees) { new Root(app, "env0"); const tests = app._testRunner!.findTests(); for (let i = 1; i < tests.length; i++) { @@ -81,13 +88,17 @@ export class TestRunner extends Resource { */ private _synthedTests: Set = new Set(); - constructor(scope: Construct, id: string, props: TestRunnerProps = {}) { + private readonly _multipleSubtrees!: boolean; + + constructor(scope: Construct, id: string, props: TestRunnerProps) { if (new.target === TestRunner) { return Resource._newFromFactory(TEST_RUNNER_FQN, scope, id, props); } super(scope, id); + this._multipleSubtrees = props.multipleSubtrees; + Node.of(this).hidden = true; Node.of(this).title = "TestRunner"; Node.of(this).description = @@ -103,20 +114,27 @@ export class TestRunner extends Resource { inflight: IFunctionHandler, props: FunctionProps ): Function | undefined { - // searching exactly for `env${number}` - const testEnv = scope.node.path.match(/env[0-9]+/)?.at(0)!; - // searching for the rest of the path that appears after `env${number}`- this would be the test path - const testPath = - scope.node.path - .match(/env[\d]+\/.+/) - ?.at(0)! - .replace(`${testEnv}/`, "") + - "/" + - id; - - if (!this._synthedEnvs.has(testEnv) && !this._synthedTests.has(testPath)) { - this._synthedEnvs.add(testEnv); - this._synthedTests.add(testPath); + if (this._multipleSubtrees) { + // searching exactly for `env${number}` + const testEnv = scope.node.path.match(/env[0-9]+/)?.at(0)!; + // searching for the rest of the path that appears after `env${number}`- this would be the test path + const testPath = + scope.node.path + .match(/env[\d]+\/.+/) + ?.at(0)! + .replace(`${testEnv}/`, "") + + "/" + + id; + + if ( + !this._synthedEnvs.has(testEnv) && + !this._synthedTests.has(testPath) + ) { + this._synthedEnvs.add(testEnv); + this._synthedTests.add(testPath); + return new Function(scope, id, inflight, props); + } + } else { return new Function(scope, id, inflight, props); } diff --git a/libs/wingsdk/src/target-sim/app.ts b/libs/wingsdk/src/target-sim/app.ts index 47b196f78d6..609c166f366 100644 --- a/libs/wingsdk/src/target-sim/app.ts +++ b/libs/wingsdk/src/target-sim/app.ts @@ -75,7 +75,7 @@ export class App extends core.App { this.outdir = props.outdir ?? "."; registerTokenResolver(new SimTokens()); - TestRunner._createTree(this, props.rootConstruct); + TestRunner._createTree(this, props.rootConstruct, false); } /** @internal */ diff --git a/libs/wingsdk/src/target-sim/test-runner.ts b/libs/wingsdk/src/target-sim/test-runner.ts index 65c23d34d82..d21989ce457 100644 --- a/libs/wingsdk/src/target-sim/test-runner.ts +++ b/libs/wingsdk/src/target-sim/test-runner.ts @@ -22,7 +22,7 @@ export class TestRunner extends std.TestRunner implements ISimulatorResource { return makeSimulatorJsClientType("TestRunner", std.TestRunner._methods); } - constructor(scope: Construct, id: string, props: std.TestRunnerProps = {}) { + constructor(scope: Construct, id: string, props: std.TestRunnerProps) { super(scope, id, props); } diff --git a/libs/wingsdk/src/target-tf-aws/app.ts b/libs/wingsdk/src/target-tf-aws/app.ts index 830970c7534..f75f1b40209 100644 --- a/libs/wingsdk/src/target-tf-aws/app.ts +++ b/libs/wingsdk/src/target-tf-aws/app.ts @@ -47,7 +47,7 @@ export class App extends CdktfApp { public: [], }; - TestRunner._createTree(this, props.rootConstruct); + TestRunner._createTree(this, props.rootConstruct, this.isTestEnvironment); } /** diff --git a/libs/wingsdk/src/target-tf-aws/test-runner.ts b/libs/wingsdk/src/target-tf-aws/test-runner.ts index 61dfa43429e..83c4430827a 100644 --- a/libs/wingsdk/src/target-tf-aws/test-runner.ts +++ b/libs/wingsdk/src/target-tf-aws/test-runner.ts @@ -24,7 +24,7 @@ export class TestRunner extends std.TestRunner { ); } - constructor(scope: Construct, id: string, props: std.TestRunnerProps = {}) { + constructor(scope: Construct, id: string, props: std.TestRunnerProps) { super(scope, id, props); // This output is created so the CLI's `wing test` command can obtain a list diff --git a/libs/wingsdk/src/target-tf-azure/app.ts b/libs/wingsdk/src/target-tf-azure/app.ts index 7a6a13f69a4..36e5f44ad90 100644 --- a/libs/wingsdk/src/target-tf-azure/app.ts +++ b/libs/wingsdk/src/target-tf-azure/app.ts @@ -83,7 +83,7 @@ export class App extends CdktfApp { constructor(props: AppProps) { super(props); this.location = props.location ?? process.env.AZURE_LOCATION!; - TestRunner._createTree(this, props.rootConstruct); + TestRunner._createTree(this, props.rootConstruct, this.isTestEnvironment); // Using env variable for location is work around until we are // able to implement https://github.com/winglang/wing/issues/493 (policy as infrastructure) if (this.location === undefined) { diff --git a/libs/wingsdk/src/target-tf-azure/test-runner.ts b/libs/wingsdk/src/target-tf-azure/test-runner.ts index 4c9cd81b9c6..6def8a868cb 100644 --- a/libs/wingsdk/src/target-tf-azure/test-runner.ts +++ b/libs/wingsdk/src/target-tf-azure/test-runner.ts @@ -23,7 +23,7 @@ export class TestRunner extends std.TestRunner { ); } - constructor(scope: Construct, id: string, props: std.TestRunnerProps = {}) { + constructor(scope: Construct, id: string, props: std.TestRunnerProps) { super(scope, id, props); // This output is created so the CLI's `wing test` command can obtain a list // of all names of test functions by running `terraform output`. diff --git a/libs/wingsdk/src/target-tf-gcp/app.ts b/libs/wingsdk/src/target-tf-gcp/app.ts index 120b0c49ca3..4000ef3ee6e 100644 --- a/libs/wingsdk/src/target-tf-gcp/app.ts +++ b/libs/wingsdk/src/target-tf-gcp/app.ts @@ -73,6 +73,6 @@ export class App extends CdktfApp { }); new RandomProvider(this, "random"); - TestRunner._createTree(this, props.rootConstruct); + TestRunner._createTree(this, props.rootConstruct, this.isTestEnvironment); } } diff --git a/libs/wingsdk/src/target-tf-gcp/test-runner.ts b/libs/wingsdk/src/target-tf-gcp/test-runner.ts index 6115ff3cc20..75ad797c094 100644 --- a/libs/wingsdk/src/target-tf-gcp/test-runner.ts +++ b/libs/wingsdk/src/target-tf-gcp/test-runner.ts @@ -24,7 +24,7 @@ export class TestRunner extends std.TestRunner { ); } - constructor(scope: Construct, id: string, props: std.TestRunnerProps = {}) { + constructor(scope: Construct, id: string, props: std.TestRunnerProps) { super(scope, id, props); // This output is created so the CLI's `wing test` command can obtain a list // of all names of test functions by running `terraform output`. diff --git a/libs/wingsdk/test/simulator/simulator.test.ts b/libs/wingsdk/test/simulator/simulator.test.ts index 47a6bf69207..48ad465d1e5 100644 --- a/libs/wingsdk/test/simulator/simulator.test.ts +++ b/libs/wingsdk/test/simulator/simulator.test.ts @@ -180,9 +180,9 @@ describe("run all tests", () => { await sim.stop(); expect(results.length).toEqual(3); expect(results.map((r) => r.path).sort()).toStrictEqual([ - "root/env0/test", - "root/env1/test:bla", - "root/env2/test:blue", + "root/Default/test", + "root/Default/test:bla", + "root/Default/test:blue", ]); }); @@ -221,9 +221,9 @@ describe("run all tests", () => { await sim.stop(); expect(results.length).toEqual(3); expect(results.map((r) => r.path).sort()).toStrictEqual([ - "root/env0/test", - "root/env1/scope1/test", - "root/env2/scope2/test", + "root/Default/scope1/test", + "root/Default/scope2/test", + "root/Default/test", ]); }); }); diff --git a/libs/wingsdk/test/target-sim/__snapshots__/test.test.ts.snap b/libs/wingsdk/test/target-sim/__snapshots__/test.test.ts.snap index 946bbff6795..551254c7230 100644 --- a/libs/wingsdk/test/target-sim/__snapshots__/test.test.ts.snap +++ b/libs/wingsdk/test/target-sim/__snapshots__/test.test.ts.snap @@ -2,7 +2,7 @@ exports[`create a test 1`] = ` { - ".wing/handler_c86fc180.cjs": ""use strict"; + ".wing/handler_c818e9be.cjs": ""use strict"; var $handler = undefined; exports.handler = async function(event) { $handler = $handler ?? ((await (async () => { @@ -25,32 +25,32 @@ exports.handler = async function(event) { }, "simulator.json": { "resources": { + "root/Default/test:my_test/Handler": { + "addr": "c818e9bed156155e61095c3e68cdb0d4e55c141aca", + "path": "root/Default/test:my_test/Handler", + "policy": [], + "props": { + "concurrency": 100, + "environmentVariables": {}, + "sourceCodeFile": ".wing/handler_c818e9be.cjs", + "sourceCodeLanguage": "javascript", + "timeout": 60000, + }, + "type": "@winglang/sdk.cloud.Function", + }, "root/cloud.TestRunner": { "addr": "c8647dd8d2adabe83cc081ebe0ccbefe4a068ef3bf", "deps": [ - "root/env0/test:my_test/Handler", + "root/Default/test:my_test/Handler", ], "path": "root/cloud.TestRunner", "props": { "tests": { - "root/env0/test:my_test": "\${wsim#root/env0/test:my_test/Handler#attrs.handle}", + "root/Default/test:my_test": "\${wsim#root/Default/test:my_test/Handler#attrs.handle}", }, }, "type": "@winglang/sdk.std.TestRunner", }, - "root/env0/test:my_test/Handler": { - "addr": "c86fc1804106bd848769cb0ddbcb872aa1e47943f4", - "path": "root/env0/test:my_test/Handler", - "policy": [], - "props": { - "concurrency": 100, - "environmentVariables": {}, - "sourceCodeFile": ".wing/handler_c86fc180.cjs", - "sourceCodeLanguage": "javascript", - "timeout": 60000, - }, - "type": "@winglang/sdk.cloud.Function", - }, }, "sdkVersion": "0.0.0", "types": { @@ -131,20 +131,7 @@ exports.handler = async function(event) { "tree.json": { "tree": { "children": { - "cloud.TestRunner": { - "constructInfo": { - "fqn": "constructs.Construct", - "version": "10.3.0", - }, - "display": { - "description": "A suite of APIs for running tests and collecting results.", - "hidden": true, - "title": "TestRunner", - }, - "id": "cloud.TestRunner", - "path": "root/cloud.TestRunner", - }, - "env0": { + "Default": { "children": { "test:my_test": { "children": { @@ -158,7 +145,7 @@ exports.handler = async function(event) { "title": "Function", }, "id": "Handler", - "path": "root/env0/test:my_test/Handler", + "path": "root/Default/test:my_test/Handler", }, }, "constructInfo": { @@ -170,7 +157,7 @@ exports.handler = async function(event) { "title": "Test", }, "id": "test:my_test", - "path": "root/env0/test:my_test", + "path": "root/Default/test:my_test", }, }, "constructInfo": { @@ -178,8 +165,21 @@ exports.handler = async function(event) { "version": "10.3.0", }, "display": {}, - "id": "env0", - "path": "root/env0", + "id": "Default", + "path": "root/Default", + }, + "cloud.TestRunner": { + "constructInfo": { + "fqn": "constructs.Construct", + "version": "10.3.0", + }, + "display": { + "description": "A suite of APIs for running tests and collecting results.", + "hidden": true, + "title": "TestRunner", + }, + "id": "cloud.TestRunner", + "path": "root/cloud.TestRunner", }, }, "constructInfo": { diff --git a/libs/wingsdk/test/target-sim/app.test.ts b/libs/wingsdk/test/target-sim/app.test.ts index 10ef10b943d..c16eccb74a1 100644 --- a/libs/wingsdk/test/target-sim/app.test.ts +++ b/libs/wingsdk/test/target-sim/app.test.ts @@ -63,7 +63,7 @@ test("tests do not synthesize functions when test mode is off", async () => { ]); }); -test("tests are synthesized into individual environments when test mode is on", async () => { +test("tests are synthesized into a single environemnt environments when test mode is on", async () => { // GIVEN class Root extends Construct { constructor(scope: Construct, id: string) { @@ -82,12 +82,10 @@ test("tests are synthesized into individual environments when test mode is on", // THEN expect(resources.sort()).toEqual([ + "root/Default/my_bucket", + "root/Default/my_bucket/Policy", + "root/Default/test:my_test1/Handler", + "root/Default/test:my_test2/Handler", "root/cloud.TestRunner", - "root/env0/my_bucket", - "root/env0/my_bucket/Policy", - "root/env0/test:my_test1/Handler", - "root/env1/my_bucket", - "root/env1/my_bucket/Policy", - "root/env1/test:my_test2/Handler", ]); }); diff --git a/libs/wingsdk/test/target-sim/test-runner.test.ts b/libs/wingsdk/test/target-sim/test-runner.test.ts index 6417318f50a..7b932baf8bd 100644 --- a/libs/wingsdk/test/target-sim/test-runner.test.ts +++ b/libs/wingsdk/test/target-sim/test-runner.test.ts @@ -30,7 +30,7 @@ describe("Single test", () => { //@ts-expect-error const testList = app._testRunner?.getTestFunctionHandles() ?? {}; - expect(Object.keys(testList)).toEqual(["root/env0/test:first test"]); + expect(Object.keys(testList)).toEqual(["root/Default/test:first test"]); }); }); @@ -50,9 +50,9 @@ describe("Multiple tests", () => { //@ts-expect-error const testList = app._testRunner?.getTestFunctionHandles() ?? {}; expect(Object.keys(testList)).toEqual([ - "root/env0/test:first test", - "root/env1/test:second test", - "root/env2/test:third test", + "root/Default/test:first test", + "root/Default/test:second test", + "root/Default/test:third test", ]); }); }); diff --git a/libs/wingsdk/test/target-sim/test.test.ts b/libs/wingsdk/test/target-sim/test.test.ts index d5825de5688..ef79604b7f2 100644 --- a/libs/wingsdk/test/target-sim/test.test.ts +++ b/libs/wingsdk/test/target-sim/test.test.ts @@ -22,11 +22,11 @@ test("create a test", async () => { const s = await app.startSimulator(); // for now, it just creates a cloud.Function - expect(s.getResourceConfig("/env0/test:my_test/Handler")).toEqual({ + expect(s.getResourceConfig("/Default/test:my_test/Handler")).toEqual({ attrs: { handle: expect.any(String), }, - path: "root/env0/test:my_test/Handler", + path: "root/Default/test:my_test/Handler", addr: expect.any(String), policy: [], props: { diff --git a/tools/hangar/__snapshots__/compatibility-spy.ts.snap b/tools/hangar/__snapshots__/compatibility-spy.ts.snap index c57efc15d52..aefb227c06b 100644 --- a/tools/hangar/__snapshots__/compatibility-spy.ts.snap +++ b/tools/hangar/__snapshots__/compatibility-spy.ts.snap @@ -11,14 +11,10 @@ exports[`aws-counter.test.w 1`] = ` "counter/aws-counter.test.w": { "validates the AWS counter name": { "args": { - "methods": { - "TestRunner": [ - "findTests", - ], - }, + "methods": {}, }, "pass": true, - "path": "root/env0/test:validates the AWS counter name", + "path": "root/Default/test:validates the AWS counter name", "traces": [ { "data": { @@ -26,7 +22,7 @@ exports[`aws-counter.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/test:validates the AWS counter name/Handler", + "sourcePath": "root/Default/test:validates the AWS counter name/Handler", "sourceType": "@winglang/sdk.cloud.Function", "timestamp": "", "type": "resource", @@ -54,13 +50,10 @@ exports[`dec.test.w 1`] = ` "dec", "peek", ], - "TestRunner": [ - "findTests", - ], }, }, "pass": true, - "path": "root/env0/test:dec()", + "path": "root/Default/test:dec()", "traces": [ { "data": { @@ -69,7 +62,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -81,7 +74,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -93,7 +86,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -105,7 +98,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -117,7 +110,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -129,7 +122,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -141,7 +134,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -153,7 +146,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -165,7 +158,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -177,7 +170,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -189,7 +182,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -201,7 +194,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -213,7 +206,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -225,7 +218,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -236,7 +229,7 @@ exports[`dec.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/test:dec()/Handler", + "sourcePath": "root/Default/test:dec()/Handler", "sourceType": "@winglang/sdk.cloud.Function", "timestamp": "", "type": "resource", @@ -264,13 +257,10 @@ exports[`inc.test.w 1`] = ` "inc", "peek", ], - "TestRunner": [ - "findTests", - ], }, }, "pass": true, - "path": "root/env0/test:inc()", + "path": "root/Default/test:inc()", "traces": [ { "data": { @@ -279,7 +269,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -291,7 +281,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -303,7 +293,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -315,7 +305,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -327,7 +317,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -339,7 +329,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -351,7 +341,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -363,7 +353,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -375,7 +365,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -387,7 +377,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -399,7 +389,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -411,7 +401,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -423,7 +413,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -435,7 +425,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -446,7 +436,7 @@ exports[`inc.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/test:inc()/Handler", + "sourcePath": "root/Default/test:inc()/Handler", "sourceType": "@winglang/sdk.cloud.Function", "timestamp": "", "type": "resource", @@ -474,13 +464,10 @@ exports[`initial.test.w 1`] = ` "initial", "peek", ], - "TestRunner": [ - "findTests", - ], }, }, "pass": true, - "path": "root/env0/test:initial", + "path": "root/Default/test:initial", "traces": [ { "data": { @@ -489,7 +476,7 @@ exports[`initial.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counterA/Resource", + "sourcePath": "root/Default/counterA/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -501,7 +488,7 @@ exports[`initial.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counterB/Resource", + "sourcePath": "root/Default/counterB/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -513,7 +500,7 @@ exports[`initial.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counterC/Resource", + "sourcePath": "root/Default/counterC/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -524,7 +511,7 @@ exports[`initial.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/test:initial/Handler", + "sourcePath": "root/Default/test:initial/Handler", "sourceType": "@winglang/sdk.cloud.Function", "timestamp": "", "type": "resource", @@ -552,13 +539,10 @@ exports[`peek.test.w 1`] = ` "peek", "inc", ], - "TestRunner": [ - "findTests", - ], }, }, "pass": true, - "path": "root/env0/test:peek", + "path": "root/Default/test:peek", "traces": [ { "data": { @@ -567,7 +551,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/Counter/Resource", + "sourcePath": "root/Default/Counter/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -579,7 +563,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/Counter/Resource", + "sourcePath": "root/Default/Counter/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -591,7 +575,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/Counter/Resource", + "sourcePath": "root/Default/Counter/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -603,7 +587,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/Counter/Resource", + "sourcePath": "root/Default/Counter/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -615,7 +599,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/Counter/Resource", + "sourcePath": "root/Default/Counter/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -627,7 +611,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/Counter/Resource", + "sourcePath": "root/Default/Counter/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -639,7 +623,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/Counter/Resource", + "sourcePath": "root/Default/Counter/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -651,7 +635,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/Counter/Resource", + "sourcePath": "root/Default/Counter/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -662,7 +646,7 @@ exports[`peek.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/test:peek/Handler", + "sourcePath": "root/Default/test:peek/Handler", "sourceType": "@winglang/sdk.cloud.Function", "timestamp": "", "type": "resource", @@ -690,13 +674,10 @@ exports[`set.test.w 1`] = ` "set", "peek", ], - "TestRunner": [ - "findTests", - ], }, }, "pass": true, - "path": "root/env0/test:set()", + "path": "root/Default/test:set()", "traces": [ { "data": { @@ -704,7 +685,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -716,7 +697,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -727,7 +708,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -739,7 +720,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -750,7 +731,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -762,7 +743,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter1/Resource", + "sourcePath": "root/Default/counter1/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -773,7 +754,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -785,7 +766,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -796,7 +777,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -808,7 +789,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -819,7 +800,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -831,7 +812,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/counter2/Resource", + "sourcePath": "root/Default/counter2/Resource", "sourceType": "@winglang/sdk.sim.Resource", "timestamp": "", "type": "resource", @@ -842,7 +823,7 @@ exports[`set.test.w 1`] = ` "status": "success", }, "level": "verbose", - "sourcePath": "root/env0/test:set()/Handler", + "sourcePath": "root/Default/test:set()/Handler", "sourceType": "@winglang/sdk.cloud.Function", "timestamp": "", "type": "resource", diff --git a/tools/hangar/__snapshots__/error.ts.snap b/tools/hangar/__snapshots__/error.ts.snap index b5936f2d530..5e5938716e8 100644 --- a/tools/hangar/__snapshots__/error.ts.snap +++ b/tools/hangar/__snapshots__/error.ts.snap @@ -19,9 +19,9 @@ Duration " exports[`fail_to_start_simulator.test.w 1`] = ` "[ERROR] dep_on_failing_resource | Error: Failed to start container: Command "docker pull" exited with non-zero code 1 (see verbose logs) -[ERROR] dep_on_failing_resource | Error: Unable to resolve attribute 'host_port' for resource "root/env0/Container" referenced by "root/env0/test:dep_on_failing_resource/Handler" -[ERROR] (no test) | Error: Unable to resolve attribute 'host_port' for resource "root/env0/Container" referenced by "root/env0/test:dep_on_failing_resource/Handler" -Failed to start resources: "root/env0/test:dep_on_failing_resource/Handler", "root/cloud.TestRunner" +[ERROR] dep_on_failing_resource | Error: Unable to resolve attribute 'host_port' for resource "root/Default/Container" referenced by "root/Default/test:dep_on_failing_resource/Handler" +[ERROR] dep_on_failing_resource | Error: Unable to resolve attribute 'host_port' for resource "root/Default/Container" referenced by "root/Default/test:dep_on_failing_resource/Handler" +Failed to start resources: "root/Default/test:dep_on_failing_resource/Handler", "root/cloud.TestRunner" Tests 1 failed (1) Snapshots 1 skipped @@ -30,7 +30,7 @@ Duration " `; exports[`inflight_stacktraces.test.w 1`] = ` -"fail ┌ inflight_stacktraces.test.wsim » root/env0/test:assert +"fail ┌ inflight_stacktraces.test.wsim » root/Default/test:assert │ Error: assertion failed: false │ --> ../../../examples/tests/error/inflight_stacktraces.test.w:7:3 │ | let bucket = new cloud.Bucket(); @@ -39,7 +39,25 @@ exports[`inflight_stacktraces.test.w 1`] = ` │ 7 | assert(false); │ | ^ └ at /inflight_stacktraces.test.w:7:3 -fail ┌ inflight_stacktraces.test.wsim » root/env1/test:expect.equal +fail ┌ inflight_stacktraces.test.wsim » root/Default/test:assert with message + │ Error: assertion failed: x is false + │ --> ../../../examples/tests/error/inflight_stacktraces.test.w:27:3 + │ | + │ | test "assert with message" { + │ | let x = false; + │ 27 | assert(x, "x is false"); + │ | ^ + └ at /inflight_stacktraces.test.w:27:3 +fail ┌ inflight_stacktraces.test.wsim » root/Default/test:bucket failed delete + │ Error: Object does not exist (key=doesn't exist). + │ --> ../../../examples/tests/error/inflight_stacktraces.test.w:15:3 + │ | } + │ | + │ | test "bucket failed delete" { + │ 15 | bucket.delete("doesn't exist", mustExist: true); + │ | ^ + └ at /inflight_stacktraces.test.w:15:3 +fail ┌ inflight_stacktraces.test.wsim » root/Default/test:expect.equal │ Error: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: │ │ 1 !== 2 @@ -51,16 +69,7 @@ fail ┌ inflight_stacktraces.test.wsim » root/env1/test:expect.equal │ 11 | expect.equal(1,2 ); │ | ^ └ at /inflight_stacktraces.test.w:11:3 -fail ┌ inflight_stacktraces.test.wsim » root/env2/test:bucket failed delete - │ Error: Object does not exist (key=doesn't exist). - │ --> ../../../examples/tests/error/inflight_stacktraces.test.w:15:3 - │ | } - │ | - │ | test "bucket failed delete" { - │ 15 | bucket.delete("doesn't exist", mustExist: true); - │ | ^ - └ at /inflight_stacktraces.test.w:15:3 -fail ┌ inflight_stacktraces.test.wsim » root/env3/test:throw from closure +fail ┌ inflight_stacktraces.test.wsim » root/Default/test:throw from closure │ Error: ouch │ --> ../../../examples/tests/error/inflight_stacktraces.test.w:20:5 │ | @@ -70,15 +79,6 @@ fail ┌ inflight_stacktraces.test.wsim » root/env3/test:throw from closure │ | ^ │ at closure /inflight_stacktraces.test.w:20:5 └ at /inflight_stacktraces.test.w:22:3 -fail ┌ inflight_stacktraces.test.wsim » root/env4/test:assert with message - │ Error: assertion failed: x is false - │ --> ../../../examples/tests/error/inflight_stacktraces.test.w:27:3 - │ | - │ | test "assert with message" { - │ | let x = false; - │ 27 | assert(x, "x is false"); - │ | ^ - └ at /inflight_stacktraces.test.w:27:3 Tests 5 failed (5) Snapshots 1 skipped @@ -87,9 +87,9 @@ Duration " `; exports[`invalid-token.test.w 1`] = ` -"[ERROR] test cannot access unresolved token | Error: Unable to resolve attribute 'fake-attr' for resource "root/env0/MyResource/Resource" referenced by "root/env0/test:test cannot access unresolved token/Handler" -[ERROR] (no test) | Error: Unable to resolve attribute 'fake-attr' for resource "root/env0/MyResource/Resource" referenced by "root/env0/test:test cannot access unresolved token/Handler" -Failed to start resources: "root/env0/test:test cannot access unresolved token/Handler", "root/cloud.TestRunner" +"[ERROR] test cannot access unresolved token | Error: Unable to resolve attribute 'fake-attr' for resource "root/Default/MyResource/Resource" referenced by "root/Default/test:test cannot access unresolved token/Handler" +[ERROR] test cannot access unresolved token | Error: Unable to resolve attribute 'fake-attr' for resource "root/Default/MyResource/Resource" referenced by "root/Default/test:test cannot access unresolved token/Handler" +Failed to start resources: "root/Default/test:test cannot access unresolved token/Handler", "root/cloud.TestRunner" Tests 1 failed (1) Snapshots 1 skipped @@ -130,7 +130,7 @@ Duration " `; exports[`repeat_construct_id.test.w 1`] = ` -"Error: There is already a Construct with name 'Bucket' in $Root [env0] +"Error: There is already a Construct with name 'Bucket' in $Root [Default] hint: Every preflight object needs a unique identifier within its scope. You can assign one as shown: @@ -152,7 +152,7 @@ Duration " `; exports[`repeat_construct_id2.test.w 1`] = ` -"Error: There is already a Construct with name 'bucket-name' in $Root [env0] +"Error: There is already a Construct with name 'bucket-name' in $Root [Default] hint: Every preflight object needs a unique identifier within its scope. You can assign one as shown: diff --git a/tools/hangar/__snapshots__/esm.ts.snap b/tools/hangar/__snapshots__/esm.ts.snap index f0e50ebf2c2..09161d4e7ef 100644 --- a/tools/hangar/__snapshots__/esm.ts.snap +++ b/tools/hangar/__snapshots__/esm.ts.snap @@ -1,7 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`tests module package type 1`] = ` -"pass ─ module_type.test.wsim » root/env0/test:run extern +"pass ─ module_type.test.wsim » root/Default/test:run extern Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/invalid.ts.snap b/tools/hangar/__snapshots__/invalid.ts.snap index dce30c56229..1dee5e09a54 100644 --- a/tools/hangar/__snapshots__/invalid.ts.snap +++ b/tools/hangar/__snapshots__/invalid.ts.snap @@ -5366,8 +5366,10 @@ Duration " `; exports[`unresolved_state.test.w 1`] = ` -"[ERROR] (no test) | Error: Unable to resolve attribute 'my_unresolved_token' for resource "root/env0/State" referenced by "root/env0/Function" -Failed to start resources: "root/env0/Function" +"[ERROR] | Error: Unable to resolve attribute 'my_unresolved_token' for resource "root/Default/State" referenced by "root/Default/Function" +[ERROR] | Error: Unable to resolve attribute 'my_unresolved_token' for resource "root/Default/State" referenced by "root/Default/Function" +[ERROR] | Error: Unable to resolve attribute 'my_unresolved_token' for resource "root/Default/State" referenced by "root/Default/Function" +Failed to start resources: "root/Default/Function", "root/Default/test:/Handler", "root/cloud.TestRunner" Tests 1 failed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/404.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/404.test.w_test_sim.md index 5f3d48000e7..d7021e71d05 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/404.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/404.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ 404.test.wsim » root/env0/test:it responds with 404 +pass ─ 404.test.wsim » root/Default/test:it responds with 404 Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/aws-api.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/aws-api.test.w_test_sim.md index 5e2d2d2be43..3d876d91651 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/aws-api.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/aws-api.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ aws-api.test.wsim » root/env0/test:validates the AWS Api +pass ─ aws-api.test.wsim » root/Default/test:validates the AWS Api Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cors.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cors.test.w_test_sim.md index d355026ca61..05a3ce66fd3 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cors.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cors.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ cors.test.wsim » root/env0/test:http.get and http.fetch can preform a call to an api +pass ─ cors.test.wsim » root/Default/test:http.get and http.fetch can preform a call to an api Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cycle.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cycle.test.w_test_sim.md index 1d76cde28be..687b23d27b0 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cycle.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/cycle.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ cycle.test.wsim » root/env0/test:GET --my_url +pass ─ cycle.test.wsim » root/Default/test:GET --my_url Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/delete.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/delete.test.w_test_sim.md index 9cd456c6c19..fa78c0a24cd 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/delete.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/delete.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ delete.test.wsim » root/env0/test:http.delete and http.fetch can preform a call to an api +pass ─ delete.test.wsim » root/Default/test:http.delete and http.fetch can preform a call to an api Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/env.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/env.test.w_test_sim.md index 8098857580a..350cc671ea1 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/env.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/env.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ env.test.wsim » root/env0/test:can access env vars in handler +pass ─ env.test.wsim » root/Default/test:can access env vars in handler Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/get.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/get.test.w_test_sim.md index 6f39028d26f..91d29146a98 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/get.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/get.test.w_test_sim.md @@ -5,7 +5,7 @@ [INFO] http.get and http.fetch can preform a call to an api | 200 ok [INFO] http.get and http.fetch can preform a call to an api | [INFO] http.get and http.fetch can preform a call to an api | ok -pass ─ get.test.wsim » root/env0/test:http.get and http.fetch can preform a call to an api +pass ─ get.test.wsim » root/Default/test:http.get and http.fetch can preform a call to an api Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/options.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/options.test.w_test_sim.md index ec3e7ff1394..ba1aa7746eb 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/options.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/options.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ options.test.wsim » root/env0/test:http.fetch can preform a call to an api to CONNECT, HEAD and OPTIONS +pass ─ options.test.wsim » root/Default/test:http.fetch can preform a call to an api to CONNECT, HEAD and OPTIONS Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/patch.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/patch.test.w_test_sim.md index a16d6faf817..6f046a0c2fd 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/patch.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/patch.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ patch.test.wsim » root/env0/test:http.patch and http.fetch can preform a call to an api +pass ─ patch.test.wsim » root/Default/test:http.patch and http.fetch can preform a call to an api Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/path_vars.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/path_vars.test.w_test_sim.md index dea00da1a3e..111f6881445 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/path_vars.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/path_vars.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ path_vars.test.wsim » root/env0/test:path vars are valid +pass ─ path_vars.test.wsim » root/Default/test:path vars are valid Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/post.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/post.test.w_test_sim.md index 8aa8d6a84b8..dc80f556c2c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/post.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/post.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ post.test.wsim » root/env0/test:http.post and http.fetch can preform a call to an api +pass ─ post.test.wsim » root/Default/test:http.post and http.fetch can preform a call to an api Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/put.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/put.test.w_test_sim.md index 2fdc87a96c8..9edc90eaed6 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/put.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/put.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ put.test.wsim » root/env0/test:http.put and http.fetch can preform a call to an api +pass ─ put.test.wsim » root/Default/test:http.put and http.fetch can preform a call to an api Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/root_path_vars.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/root_path_vars.test.w_test_sim.md index b1bac5650db..a4b64eb9ba8 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/root_path_vars.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/api/root_path_vars.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ root_path_vars.test.wsim » root/env0/test:path vars at endpoint root are working as expected +pass ─ root_path_vars.test.wsim » root/Default/test:path vars at endpoint root are working as expected Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_file.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_file.test.w_test_sim.md index 2375c7ad548..72c2662d301 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_file.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_file.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ add_file.test.wsim » root/env0/test:addObject +pass ─ add_file.test.wsim » root/Default/test:addObject Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_object.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_object.test.w_test_sim.md index 7a60dbc2dcc..fcc2964228e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_object.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/add_object.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ add_object.test.wsim » root/env0/test:addObject +pass ─ add_object.test.wsim » root/Default/test:addObject Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/aws-bucket.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/aws-bucket.test.w_test_sim.md index 8500e065401..5fc566f7ba9 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/aws-bucket.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/aws-bucket.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ aws-bucket.test.wsim » root/env0/test:validates the AWS Bucket +pass ─ aws-bucket.test.wsim » root/Default/test:validates the AWS Bucket Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket-ref.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket-ref.test.w_test_sim.md index d0d60933d6d..4c2226267ce 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket-ref.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket-ref.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ bucket-ref.test.wsim » root/env0/test:bucketArn returns the arn -pass ─ bucket-ref.test.wsim » root/env1/test:get() sends a request to aws, fails because we are using a dummy bucket +pass ─ bucket-ref.test.wsim » root/Default/test:bucketArn returns the arn +pass ─ bucket-ref.test.wsim » root/Default/test:get() sends a request to aws, fails because we are using a dummy bucket Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket_list.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket_list.test.w_test_sim.md index c2444330d8d..eb16a4fb93e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket_list.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/bucket_list.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ bucket_list.test.wsim » root/env0/test:list +pass ─ bucket_list.test.wsim » root/Default/test:list Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/copy.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/copy.test.w_test_sim.md index e0420e71068..c998c3d2720 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/copy.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/copy.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ copy.test.wsim » root/env0/test:copy() +pass ─ copy.test.wsim » root/Default/test:copy() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/delete.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/delete.test.w_test_sim.md index 82b893a12fa..de9fc053126 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/delete.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/delete.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ delete.test.wsim » root/env0/test:delete +pass ─ delete.test.wsim » root/Default/test:delete Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/events.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/events.test.w_test_sim.md index 09f4ba4baf2..75c5b53ccf3 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/events.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/events.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ events.test.wsim » root/env0/hitCount is incremented according to the bucket event +pass ─ events.test.wsim » root/Default/hitCount is incremented according to the bucket event Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/exists.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/exists.test.w_test_sim.md index d5fa94ef344..2a37e5456eb 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/exists.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/exists.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ exists.test.wsim » root/env0/test:exists +pass ─ exists.test.wsim » root/Default/test:exists Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/get.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/get.test.w_test_sim.md index 34cb9db1213..20b0fcd7987 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/get.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/get.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ get.test.wsim » root/env0/test:get range of an object +pass ─ get.test.wsim » root/Default/test:get range of an object Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/load_test.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/load_test.test.w_test_sim.md index 5e783f1f975..f472e73a877 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/load_test.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/load_test.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ load_test.test.wsim » root/env0/uploading many objects +pass ─ load_test.test.wsim » root/Default/uploading many objects Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/metadata.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/metadata.test.w_test_sim.md index 6a32d4c18d4..070dbf6252b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/metadata.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/metadata.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ metadata.test.wsim » root/env0/test:metadata() +pass ─ metadata.test.wsim » root/Default/test:metadata() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/public_url.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/public_url.test.w_test_sim.md index 108760bead3..28cda5daf9d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/public_url.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/public_url.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ public_url.test.wsim » root/env0/test:publicUrl +pass ─ public_url.test.wsim » root/Default/test:publicUrl Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put.test.w_test_sim.md index 796824167ad..f8fc1283b65 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ put.test.wsim » root/env0/test:put +pass ─ put.test.wsim » root/Default/test:put Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put_json.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put_json.test.w_test_sim.md index 7023148ab35..c3372bf4bcc 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put_json.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/put_json.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ put_json.test.wsim » root/env0/test:putJson +pass ─ put_json.test.wsim » root/Default/test:putJson Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/rename.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/rename.test.w_test_sim.md index a0d42f21b3c..75530eea693 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/rename.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/rename.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ rename.test.wsim » root/env0/test:rename() +pass ─ rename.test.wsim » root/Default/test:rename() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/signed_url.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/signed_url.test.w_test_sim.md index ff67856cb45..003c9e47f9e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/signed_url.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/signed_url.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -Error: Resource root/env0/Bucket does not support inflight operation signedUrl. +Error: Resource root/Default/Bucket does not support inflight operation signedUrl. It might not be implemented yet. Tests 1 unsupported (1) diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_delete.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_delete.test.w_test_sim.md index 4c6b19c9da8..156b122b72e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_delete.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_delete.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ try_delete.test.wsim » root/env0/test:tryDelete +pass ─ try_delete.test.wsim » root/Default/test:tryDelete Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get.test.w_test_sim.md index 9b3351c0005..cf19e95f53d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ try_get.test.wsim » root/env0/test:tryGet +pass ─ try_get.test.wsim » root/Default/test:tryGet Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get_json.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get_json.test.w_test_sim.md index 152b9096bc7..366b08c6bdd 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get_json.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/bucket/try_get_json.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ try_get_json.test.wsim » root/env0/test:tryGetJson +pass ─ try_get_json.test.wsim » root/Default/test:tryGetJson Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/build-failure.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/build-failure.test.w_test_sim.md index 4e2a98e3300..b71288f371b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/build-failure.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/build-failure.test.w_test_sim.md @@ -2,7 +2,6 @@ ## stdout.log ```log -[ERROR] (no test) | Error: Failed to start container: Command "docker build" exited with non-zero code 1 (see verbose logs) pass ─ build-failure.test.wsim (no tests) Tests 1 passed (1) diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/container.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/container.test.w_test_sim.md index 709d96238a6..3a45bf9fea2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/container.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/container.test.w_test_sim.md @@ -4,11 +4,11 @@ ```log [INFO] get echo | bang [INFO] get echo | +[WARNING] get echo | Timeout waiting for container root/Default/my-app to shutdown, removing forcefully [INFO] get app | Hello, Wingnuts! -[WARNING] get echo | Timeout waiting for container root/env0/my-app to shutdown, removing forcefully -[WARNING] get app | Timeout waiting for container root/env1/my-app to shutdown, removing forcefully -pass ─ container.test.wsim » root/env0/test:get echo -pass ─ container.test.wsim » root/env1/test:get app +[WARNING] get app | Timeout waiting for container root/Default/my-app to shutdown, removing forcefully +pass ─ container.test.wsim » root/Default/test:get app +pass ─ container.test.wsim » root/Default/test:get echo Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/entrypoint.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/entrypoint.test.w_test_sim.md index ac93580ae7a..5d6c9605841 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/entrypoint.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/entrypoint.test.w_test_sim.md @@ -3,8 +3,8 @@ ## stdout.log ```log [INFO] container with entrypoint | hello -[WARNING] container with entrypoint | Timeout waiting for container root/env0/with-entrypoint to shutdown, removing forcefully -pass ─ entrypoint.test.wsim » root/env0/test:container with entrypoint +[WARNING] container with entrypoint | Timeout waiting for container root/Default/with-entrypoint to shutdown, removing forcefully +pass ─ entrypoint.test.wsim » root/Default/test:container with entrypoint Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/mount.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/mount.test.w_test_sim.md index 95a38ddb3bf..d03527b4a13 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/mount.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/mount.test.w_test_sim.md @@ -3,8 +3,8 @@ ## stdout.log ```log [INFO] my test | dummy test -[WARNING] my test | Timeout waiting for container root/env0/Container to shutdown, removing forcefully -pass ─ mount.test.wsim » root/env0/test:my test +[WARNING] my test | Timeout waiting for container root/Default/Container to shutdown, removing forcefully +pass ─ mount.test.wsim » root/Default/test:my test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/network.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/network.test.w_test_sim.md index 5f0ce89db94..7520466fbbf 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/network.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/network.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ network.test.wsim » root/env0/test:container with host network +pass ─ network.test.wsim » root/Default/test:container with host network Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/pull-failure.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/pull-failure.test.w_test_sim.md index 7a01a226695..30bb8f1a026 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/pull-failure.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/container/pull-failure.test.w_test_sim.md @@ -2,7 +2,6 @@ ## stdout.log ```log -[ERROR] (no test) | Error: Failed to start container: Command "docker pull" exited with non-zero code 1 (see verbose logs) pass ─ pull-failure.test.wsim (no tests) Tests 1 passed (1) diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/aws-counter.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/aws-counter.test.w_test_sim.md index 328dec56c09..5f90fe4842d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/aws-counter.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/aws-counter.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ aws-counter.test.wsim » root/env0/test:validates the AWS counter name +pass ─ aws-counter.test.wsim » root/Default/test:validates the AWS counter name Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/dec.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/dec.test.w_test_sim.md index b1b8c5f428a..b4695021a03 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/dec.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/dec.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ dec.test.wsim » root/env0/test:dec() +pass ─ dec.test.wsim » root/Default/test:dec() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/inc.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/inc.test.w_test_sim.md index 81d28a9777c..e6a386e6f40 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/inc.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/inc.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inc.test.wsim » root/env0/test:inc() +pass ─ inc.test.wsim » root/Default/test:inc() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/initial.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/initial.test.w_test_sim.md index ba862ed5984..55e236f1299 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/initial.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/initial.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ initial.test.wsim » root/env0/test:initial +pass ─ initial.test.wsim » root/Default/test:initial Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/peek.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/peek.test.w_test_sim.md index f28b0c751f2..e90d81f1dec 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/peek.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/peek.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ peek.test.wsim » root/env0/test:peek +pass ─ peek.test.wsim » root/Default/test:peek Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/set.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/set.test.w_test_sim.md index 1894da33402..947e21ac070 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/set.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/counter/set.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ set.test.wsim » root/env0/test:set() +pass ─ set.test.wsim » root/Default/test:set() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/endpoint/url.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/endpoint/url.test.w_test_sim.md index 57a8d35b146..2e16ed96b21 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/endpoint/url.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/endpoint/url.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ url.test.wsim » root/env0/test:access endpoint url +pass ─ url.test.wsim » root/Default/test:access endpoint url Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/expect/assert.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/expect/assert.test.w_test_sim.md index 6c952495aa8..ad587c98bea 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/expect/assert.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/expect/assert.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ assert.test.wsim » root/env0/test:expect +pass ─ assert.test.wsim » root/Default/test:expect Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/basic.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/basic.test.w_test_sim.md index 5eadfc1810b..690f5fb05ab 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/basic.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/basic.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ basic.test.wsim » root/env0/test:inflight file basic operations +pass ─ basic.test.wsim » root/Default/test:inflight file basic operations Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/directory.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/directory.test.w_test_sim.md index 26172ca2310..671dac9af29 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/directory.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/directory.test.w_test_sim.md @@ -2,9 +2,9 @@ ## stdout.log ```log -pass ─ directory.test.wsim » root/env0/test:inflight create normal directory -pass ─ directory.test.wsim » root/env1/test:cannot overwrite directory with a file -pass ─ directory.test.wsim » root/env2/test:isDir() +pass ─ directory.test.wsim » root/Default/test:cannot overwrite directory with a file +pass ─ directory.test.wsim » root/Default/test:inflight create normal directory +pass ─ directory.test.wsim » root/Default/test:isDir() Tests 3 passed (3) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/json.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/json.test.w_test_sim.md index 96173bcc060..051484315c1 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/json.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/json.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ json.test.wsim » root/env0/test:inflight json operations +pass ─ json.test.wsim » root/Default/test:inflight json operations Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/options.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/options.test.w_test_sim.md index 6b480b364bf..49ba7b4dc72 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/options.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/options.test.w_test_sim.md @@ -2,10 +2,10 @@ ## stdout.log ```log -pass ─ options.test.wsim » root/env0/test:write and read file with `encoding` option -pass ─ options.test.wsim » root/env1/test:write file with `flag` option -pass ─ options.test.wsim » root/env2/test:removing non-existent file with `force: false` raises error -pass ─ options.test.wsim » root/env3/test:removing directory with `recursive: false` raises error +pass ─ options.test.wsim » root/Default/test:removing directory with `recursive: false` raises error +pass ─ options.test.wsim » root/Default/test:removing non-existent file with `force: false` raises error +pass ─ options.test.wsim » root/Default/test:write and read file with `encoding` option +pass ─ options.test.wsim » root/Default/test:write file with `flag` option Tests 4 passed (4) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/path.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/path.test.w_test_sim.md index d1b9c57b79e..0a4b26762af 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/path.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/path.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ path.test.wsim » root/env0/test:inflight path conversion -pass ─ path.test.wsim » root/env1/test:extension() +pass ─ path.test.wsim » root/Default/test:extension() +pass ─ path.test.wsim » root/Default/test:inflight path conversion Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/stat.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/stat.test.w_test_sim.md index 0bc5a8bdaaf..0fdb8e8a386 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/stat.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/stat.test.w_test_sim.md @@ -2,9 +2,9 @@ ## stdout.log ```log -pass ─ stat.test.wsim » root/env0/test:metadata() -pass ─ stat.test.wsim » root/env1/test:symlinkMetadata() -pass ─ stat.test.wsim » root/env2/test:setPermissions() +pass ─ stat.test.wsim » root/Default/test:metadata() +pass ─ stat.test.wsim » root/Default/test:setPermissions() +pass ─ stat.test.wsim » root/Default/test:symlinkMetadata() Tests 3 passed (3) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/temp_dir.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/temp_dir.test.w_test_sim.md index d257751fc1d..d1af43bacff 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/temp_dir.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/temp_dir.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ temp_dir.test.wsim » root/env0/test:inflight create temporary directory +pass ─ temp_dir.test.wsim » root/Default/test:inflight create temporary directory Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/yaml.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/yaml.test.w_test_sim.md index aca42dabbd2..516fda48749 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/yaml.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/fs/yaml.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ yaml.test.wsim » root/env0/test:inflight yaml operations +pass ─ yaml.test.wsim » root/Default/test:inflight yaml operations Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-function.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-function.test.w_test_sim.md index 5c03d3c231d..7aab3a27998 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-function.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/aws-function.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ aws-function.test.wsim » root/env0/AWS Function +pass ─ aws-function.test.wsim » root/Default/AWS Function Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/concurrency.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/concurrency.test.w_test_sim.md index 5523f01f53e..51b019ba208 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/concurrency.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/concurrency.test.w_test_sim.md @@ -3,8 +3,8 @@ ## stdout.log ```log [INFO] queue applies backpressure to functions with limited concurrency | c: 3 -pass ─ concurrency.test.wsim » root/env0/test:f1 concurrency limit reached -pass ─ concurrency.test.wsim » root/env1/test:queue applies backpressure to functions with limited concurrency +pass ─ concurrency.test.wsim » root/Default/test:f1 concurrency limit reached +pass ─ concurrency.test.wsim » root/Default/test:queue applies backpressure to functions with limited concurrency Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/env.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/env.test.w_test_sim.md index 3700c1d6b57..14920750a91 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/env.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/env.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ env.test.wsim » root/env0/test:addEnvironment +pass ─ env.test.wsim » root/Default/test:addEnvironment Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_test_sim.md index 62d1e9da70c..a7b6005a13c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/function-ref.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ function-ref.test.wsim » root/env0/test:functionArn returns the arn -pass ─ function-ref.test.wsim » root/env1/test:invoke() sends a request to aws, fails because we are using a dummy function +pass ─ function-ref.test.wsim » root/Default/test:functionArn returns the arn +pass ─ function-ref.test.wsim » root/Default/test:invoke() sends a request to aws, fails because we are using a dummy function Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke.test.w_test_sim.md index 9224154fdf5..0a0b3fb6f5c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke.test.w_test_sim.md @@ -8,7 +8,7 @@ log preflight [INFO] invoke | contains 2 lines [INFO] invoke | no event, no return! [INFO] invoke | bang! -pass ─ invoke.test.wsim » root/env0/test:invoke +pass ─ invoke.test.wsim » root/Default/test:invoke Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke_async.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke_async.test.w_test_sim.md index 99727d13e3b..0140d56efad 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke_async.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/invoke_async.test.w_test_sim.md @@ -4,8 +4,8 @@ ```log [INFO] invoke() waits for function to finish | log inside fn [INFO] invokeAsync() returns without waiting for the function finishes | log inside fn -pass ─ invoke_async.test.wsim » root/env0/test:invoke() waits for function to finish -pass ─ invoke_async.test.wsim » root/env1/test:invokeAsync() returns without waiting for the function finishes +pass ─ invoke_async.test.wsim » root/Default/test:invoke() waits for function to finish +pass ─ invoke_async.test.wsim » root/Default/test:invokeAsync() returns without waiting for the function finishes Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/logging.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/logging.test.w_test_sim.md index 092d7fe53cd..9931fc28572 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/logging.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/logging.test.w_test_sim.md @@ -10,7 +10,7 @@ [INFO] logging | log inside f1 [INFO] logging | log inside f2 [INFO] logging | log inside f1 -pass ─ logging.test.wsim » root/env0/test:logging +pass ─ logging.test.wsim » root/Default/test:logging Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/memory_and_env.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/memory_and_env.test.w_test_sim.md index 10fd7d58c5d..901e949c0e0 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/memory_and_env.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/memory_and_env.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ memory_and_env.test.wsim » root/env0/test:function with memory and function with env can be invoked +pass ─ memory_and_env.test.wsim » root/Default/test:function with memory and function with env can be invoked Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/timeout.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/timeout.test.w_test_sim.md index f72051559e3..deecead11de 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/timeout.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/function/timeout.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ timeout.test.wsim » root/env0/function invoke throws on timeout +pass ─ timeout.test.wsim » root/Default/function invoke throws on timeout Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/fetch.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/fetch.test.w_test_sim.md index ebf7deefdec..d97ad4a4080 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/fetch.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/fetch.test.w_test_sim.md @@ -3,7 +3,7 @@ ## stdout.log ```log [INFO] fetch | I am the target -pass ─ fetch.test.wsim » root/env0/test:fetch +pass ─ fetch.test.wsim » root/Default/test:fetch Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/url.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/url.test.w_test_sim.md index 255e3dca832..e184789a9aa 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/url.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/http/url.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ url.test.wsim » root/env0/test:parseUrl() -pass ─ url.test.wsim » root/env1/test:formatUrl() +pass ─ url.test.wsim » root/Default/test:formatUrl() +pass ─ url.test.wsim » root/Default/test:parseUrl() Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/abs.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/abs.test.w_test_sim.md index 39a77b10a31..5b3258b18fa 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/abs.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/abs.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ abs.test.wsim » root/env0/test:inflight absolute +pass ─ abs.test.wsim » root/Default/test:inflight absolute Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acos.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acos.test.w_test_sim.md index eb854c6d277..8d2202aa0b4 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acos.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acos.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ acos.test.wsim » root/env0/test:inflight arc cosine +pass ─ acos.test.wsim » root/Default/test:inflight arc cosine Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acot.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acot.test.w_test_sim.md index c39d5ac5a01..48b6d980897 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acot.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acot.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ acot.test.wsim » root/env0/test:inflight arc cotgent +pass ─ acot.test.wsim » root/Default/test:inflight arc cotgent Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acsc.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acsc.test.w_test_sim.md index 9f2626e3591..6e2f6c46eee 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acsc.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/acsc.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ acsc.test.wsim » root/env0/test:inflight arc cosecant +pass ─ acsc.test.wsim » root/Default/test:inflight arc cosecant Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/angular_conversion.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/angular_conversion.test.w_test_sim.md index 4043d378a27..78992fe61ee 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/angular_conversion.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/angular_conversion.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ angular_conversion.test.wsim » root/env0/test:inflight angular conversions +pass ─ angular_conversion.test.wsim » root/Default/test:inflight angular conversions Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asec.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asec.test.w_test_sim.md index 8503781463c..a2fe83b6761 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asec.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asec.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ asec.test.wsim » root/env0/test:inflight arc cosecant +pass ─ asec.test.wsim » root/Default/test:inflight arc cosecant Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asin.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asin.test.w_test_sim.md index c67a5b5dfda..d27bffa0b70 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asin.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/asin.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ asin.test.wsim » root/env0/test:inflight arc sine +pass ─ asin.test.wsim » root/Default/test:inflight arc sine Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan.test.w_test_sim.md index e6931e93cc2..c3e0674b3a3 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ atan.test.wsim » root/env0/test:inflight arc tangent +pass ─ atan.test.wsim » root/Default/test:inflight arc tangent Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan2.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan2.test.w_test_sim.md index 98849718f7d..2f786b5f224 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan2.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/atan2.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ atan2.test.wsim » root/env0/test:inflight arc tangent 2 +pass ─ atan2.test.wsim » root/Default/test:inflight arc tangent 2 Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/combinations.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/combinations.test.w_test_sim.md index 1cade9f29fa..7b945863a27 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/combinations.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/combinations.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ combinations.test.wsim » root/env0/test:inflight combinations +pass ─ combinations.test.wsim » root/Default/test:inflight combinations Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cos.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cos.test.w_test_sim.md index 6b2bafea071..a642d529199 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cos.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cos.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ cos.test.wsim » root/env0/test:inflight cosine +pass ─ cos.test.wsim » root/Default/test:inflight cosine Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cot.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cot.test.w_test_sim.md index 205cdb201a9..19e2ba07744 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cot.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/cot.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ cot.test.wsim » root/env0/test:inflight cotangent +pass ─ cot.test.wsim » root/Default/test:inflight cotangent Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/csc.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/csc.test.w_test_sim.md index a062fb39834..a9e5262436a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/csc.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/csc.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ csc.test.wsim » root/env0/test:inflight cosecant +pass ─ csc.test.wsim » root/Default/test:inflight cosecant Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/euler.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/euler.test.w_test_sim.md index 2165b841a18..eb02dca5d66 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/euler.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/euler.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ euler.test.wsim » root/env0/test:EULER +pass ─ euler.test.wsim » root/Default/test:EULER Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/factorial.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/factorial.test.w_test_sim.md index e4c54089171..cae5186b851 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/factorial.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/factorial.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ factorial.test.wsim » root/env0/test:inflight factorial +pass ─ factorial.test.wsim » root/Default/test:inflight factorial Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/fibonacci.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/fibonacci.test.w_test_sim.md index 53971f4e298..8e71b1a412e 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/fibonacci.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/fibonacci.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ fibonacci.test.wsim » root/env0/test:inflight fibonacci +pass ─ fibonacci.test.wsim » root/Default/test:inflight fibonacci Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/floor_ceil_round.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/floor_ceil_round.test.w_test_sim.md index c0dfae7bd44..dafabc62254 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/floor_ceil_round.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/floor_ceil_round.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ floor_ceil_round.test.wsim » root/env0/test:inflight floor--ceil--round +pass ─ floor_ceil_round.test.wsim » root/Default/test:inflight floor--ceil--round Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/hypot.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/hypot.test.w_test_sim.md index 866e340beed..429cf47db17 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/hypot.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/hypot.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ hypot.test.wsim » root/env0/test:inflight hypot +pass ─ hypot.test.wsim » root/Default/test:inflight hypot Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log.test.w_test_sim.md index 7f31dabaeb5..f565cba2068 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ log.test.wsim » root/env0/test:inflight absolute +pass ─ log.test.wsim » root/Default/test:inflight absolute Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log10.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log10.test.w_test_sim.md index 515e9542ccc..075a5d81536 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log10.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log10.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ log10.test.wsim » root/env0/test:inflight absolute +pass ─ log10.test.wsim » root/Default/test:inflight absolute Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log2.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log2.test.w_test_sim.md index 4288a05af55..5ca77a5c8b8 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log2.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/log2.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ log2.test.wsim » root/env0/test:inflight absolute +pass ─ log2.test.wsim » root/Default/test:inflight absolute Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/median_mode_mean.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/median_mode_mean.test.w_test_sim.md index d015ad84c24..00fe2427bf2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/median_mode_mean.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/median_mode_mean.test.w_test_sim.md @@ -2,9 +2,9 @@ ## stdout.log ```log -pass ─ median_mode_mean.test.wsim » root/env0/test:inflight median -pass ─ median_mode_mean.test.wsim » root/env1/test:inflight mode -pass ─ median_mode_mean.test.wsim » root/env2/test:inflight mean +pass ─ median_mode_mean.test.wsim » root/Default/test:inflight mean +pass ─ median_mode_mean.test.wsim » root/Default/test:inflight median +pass ─ median_mode_mean.test.wsim » root/Default/test:inflight mode Tests 3 passed (3) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/min_max.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/min_max.test.w_test_sim.md index fab067b49d5..55847901c38 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/min_max.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/min_max.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ min_max.test.wsim » root/env0/test:inflight min--max +pass ─ min_max.test.wsim » root/Default/test:inflight min--max Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/pi.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/pi.test.w_test_sim.md index 812a43883dc..47519e1be30 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/pi.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/pi.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ pi.test.wsim » root/env0/test:PI +pass ─ pi.test.wsim » root/Default/test:PI Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/prime.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/prime.test.w_test_sim.md index 99ab6f35608..e628dc71a06 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/prime.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/prime.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ prime.test.wsim » root/env0/test:inflight prime numbers +pass ─ prime.test.wsim » root/Default/test:inflight prime numbers Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/random.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/random.test.w_test_sim.md index 229940cad54..6cbda2cd1d7 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/random.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/random.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ random.test.wsim » root/env0/test:inflight absolute +pass ─ random.test.wsim » root/Default/test:inflight absolute Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sec.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sec.test.w_test_sim.md index 3b53e9172c1..c2f7c9af53c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sec.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sec.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ sec.test.wsim » root/env0/test:inflight secant +pass ─ sec.test.wsim » root/Default/test:inflight secant Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sign.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sign.test.w_test_sim.md index 839ec24bbec..2fd000efa12 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sign.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sign.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ sign.test.wsim » root/env0/test:inflight absolute +pass ─ sign.test.wsim » root/Default/test:inflight absolute Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sin.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sin.test.w_test_sim.md index cbf8ea7a85d..0ccf366c402 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sin.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sin.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ sin.test.wsim » root/env0/test:inflight sine +pass ─ sin.test.wsim » root/Default/test:inflight sine Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sqrt.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sqrt.test.w_test_sim.md index 9662e2dfc4a..849b57ec803 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sqrt.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/sqrt.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ sqrt.test.wsim » root/env0/test:inflight square root +pass ─ sqrt.test.wsim » root/Default/test:inflight square root Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tan.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tan.test.w_test_sim.md index 42e909cad81..09bc34bcb23 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tan.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tan.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ tan.test.wsim » root/env0/test:inflight tangent +pass ─ tan.test.wsim » root/Default/test:inflight tangent Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tau.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tau.test.w_test_sim.md index 60c28d1004c..3534863d2f3 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tau.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/tau.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ tau.test.wsim » root/env0/test:TAU +pass ─ tau.test.wsim » root/Default/test:TAU Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/toradix.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/toradix.test.w_test_sim.md index aa56c639954..f713a7ef7ce 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/toradix.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/math/toradix.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ toradix.test.wsim » root/env0/test:inflight base +pass ─ toradix.test.wsim » root/Default/test:inflight base Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/misc/empty-actions.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/misc/empty-actions.test.w_test_sim.md index b265668d818..b73268068e9 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/misc/empty-actions.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/misc/empty-actions.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ empty-actions.test.wsim » root/env0/test:main +pass ─ empty-actions.test.wsim » root/Default/test:main Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/on_deploy/execute_after.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/on_deploy/execute_after.test.w_test_sim.md index bce6d44bb57..38a18c35bd2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/on_deploy/execute_after.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/on_deploy/execute_after.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ execute_after.test.wsim » root/env0/test:counter +pass ─ execute_after.test.wsim » root/Default/test:counter Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/aws-queue.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/aws-queue.test.w_test_sim.md index 5423eeb77f3..86a819e4a2c 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/aws-queue.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/aws-queue.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ aws-queue.test.wsim » root/env0/test:validates the AWS queue name +pass ─ aws-queue.test.wsim » root/Default/test:validates the AWS queue name Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/dead-letter-queue.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/dead-letter-queue.test.w_test_sim.md index f35d5d2ed2d..1aae53e1cb4 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/dead-letter-queue.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/dead-letter-queue.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ dead-letter-queue.test.wsim » root/env0/one execution and send fail message to dead-letter queue -pass ─ dead-letter-queue.test.wsim » root/env1/one execution, two retries and send the fail message to dead-letter queue +pass ─ dead-letter-queue.test.wsim » root/Default/one execution and send fail message to dead-letter queue +pass ─ dead-letter-queue.test.wsim » root/Default/one execution, two retries and send the fail message to dead-letter queue Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/purge.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/purge.test.w_test_sim.md index c7d1d49879a..fd89798d736 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/purge.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/purge.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ purge.test.wsim » root/env0/test:purge +pass ─ purge.test.wsim » root/Default/test:purge Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/push.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/push.test.w_test_sim.md index a4bd738a6a5..8c0197683a7 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/push.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/push.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ push.test.wsim » root/env0/push +pass ─ push.test.wsim » root/Default/push Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_test_sim.md index 28b24b86032..06a847bc0a4 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/queue-ref.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ queue-ref.test.wsim » root/env0/test:queueArn returns the arn -pass ─ queue-ref.test.wsim » root/env1/test:push() sends a request to aws, fails because we are using a dummy queue +pass ─ queue-ref.test.wsim » root/Default/test:push() sends a request to aws, fails because we are using a dummy queue +pass ─ queue-ref.test.wsim » root/Default/test:queueArn returns the arn Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/set_consumer.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/set_consumer.test.w_test_sim.md index 182d94fc6a6..7804e79f4ac 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/set_consumer.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/queue/set_consumer.test.w_test_sim.md @@ -2,9 +2,9 @@ ## stdout.log ```log -pass ─ set_consumer.test.wsim » root/env0/test:setConsumer -pass ─ set_consumer.test.wsim » root/env1/test:function can push back to the queue -pass ─ set_consumer.test.wsim » root/env2/test:messages pushed to queue can be processed concurrently +pass ─ set_consumer.test.wsim » root/Default/test:function can push back to the queue +pass ─ set_consumer.test.wsim » root/Default/test:messages pushed to queue can be processed concurrently +pass ─ set_consumer.test.wsim » root/Default/test:setConsumer Tests 3 passed (3) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/call.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/call.test.w_test_sim.md index 8f02d875c16..fbbb6ab209f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/call.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/call.test.w_test_sim.md @@ -7,11 +7,11 @@ [INFO] resource can log messages at different levels | another info log [WARNING] resource can log messages at different levels | a warn log [ERROR] resource can log messages at different levels | Error: an error log -pass ─ call.test.wsim » root/env0/test:resource.call with a field name returns the field value -pass ─ call.test.wsim » root/env1/test:resource.call cannot be used to call onStop -pass ─ call.test.wsim » root/env2/test:exceptions thrown by the resource are caught and rethrown by the caller -pass ─ call.test.wsim » root/env3/test:resource.call can accept and return various kinds of values -pass ─ call.test.wsim » root/env4/test:resource can log messages at different levels +pass ─ call.test.wsim » root/Default/test:exceptions thrown by the resource are caught and rethrown by the caller +pass ─ call.test.wsim » root/Default/test:resource can log messages at different levels +pass ─ call.test.wsim » root/Default/test:resource.call can accept and return various kinds of values +pass ─ call.test.wsim » root/Default/test:resource.call cannot be used to call onStop +pass ─ call.test.wsim » root/Default/test:resource.call with a field name returns the field value Tests 5 passed (5) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/no-stop.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/no-stop.test.w_test_sim.md index 07537837b5f..3fc485cb21d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/no-stop.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/no-stop.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ no-stop.test.wsim » root/env0/test:token is resolved +pass ─ no-stop.test.wsim » root/Default/test:token is resolved Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_test_sim.md index 17189551c43..7ee7bcd87e1 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-start.test.w_test_sim.md @@ -11,9 +11,9 @@ | ^ at $inflight_init /on-start.test.w:6:5 at /on-start.test.w:17:18 -[ERROR] method calls fail if the resource fails to start | Error: root/env0/OnStartThrower/Resource failed to start: Error: unexpected error! +[ERROR] method calls fail if the resource fails to start | Error: root/Default/OnStartThrower/Resource failed to start: Error: unexpected error! [ERROR] method calls fail if the resource fails to start | Error: Resource is not running (it may have crashed or stopped) -pass ─ on-start.test.wsim » root/env0/test:method calls fail if the resource fails to start +pass ─ on-start.test.wsim » root/Default/test:method calls fail if the resource fails to start Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-stop.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-stop.test.w_test_sim.md index 4674b8cc8b7..d2db32c2e9f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-stop.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/on-stop.test.w_test_sim.md @@ -10,7 +10,7 @@ 6 | throw "unexpected error!"; | ^ at onStop /on-stop.test.w:6:5 -pass ─ on-stop.test.wsim » root/env0/test:if a resource throws an error on stopping, it doesn't crash the simulation +pass ─ on-stop.test.wsim » root/Default/test:if a resource throws an error on stopping, it doesn't crash the simulation Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/resource.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/resource.test.w_test_sim.md index b6e69cb406a..ee4fcaff0b2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/resource.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/resource.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ resource.test.wsim » root/env0/test:Counter -pass ─ resource.test.wsim » root/env1/test:DoubleCounter +pass ─ resource.test.wsim » root/Default/test:Counter +pass ─ resource.test.wsim » root/Default/test:DoubleCounter Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/state.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/state.test.w_test_sim.md index aeb793c5b4d..47083f2553a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/state.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/state.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ state.test.wsim » root/env0/test:sim.Resource can read and write state +pass ─ state.test.wsim » root/Default/test:sim.Resource can read and write state Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/tokens.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/tokens.test.w_test_sim.md index 49e00241865..c475b619767 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/tokens.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/resource/tokens.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ tokens.test.wsim » root/env0/test:calling resolveToken during a method call emits an error +pass ─ tokens.test.wsim » root/Default/test:calling resolveToken during a method call emits an error Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/schedule/on_tick.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/schedule/on_tick.test.w_test_sim.md index 0d89a0ec82a..6bd2cb4b9e3 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/schedule/on_tick.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/schedule/on_tick.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ on_tick.test.wsim » root/env0/onTick() +pass ─ on_tick.test.wsim » root/Default/onTick() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/callbacks.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/callbacks.test.w_test_sim.md index bc1fdec32b6..2f54fbeb727 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/callbacks.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/callbacks.test.w_test_sim.md @@ -2,9 +2,9 @@ ## stdout.log ```log -pass ─ callbacks.test.wsim » root/env0/test:does not start automatically if autoStart is false -pass ─ callbacks.test.wsim » root/env1/test:start() calls onStart() idempotently -pass ─ callbacks.test.wsim » root/env2/test:stop() calls onStop() +pass ─ callbacks.test.wsim » root/Default/test:does not start automatically if autoStart is false +pass ─ callbacks.test.wsim » root/Default/test:start() calls onStart() idempotently +pass ─ callbacks.test.wsim » root/Default/test:stop() calls onStop() Tests 3 passed (3) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/http-server.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/http-server.test.w_test_sim.md index 2948dff3702..4902aaae69b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/http-server.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/http-server.test.w_test_sim.md @@ -2,15 +2,15 @@ ## stdout.log ```log -[INFO] service.stop() closes the http server | starting service -[INFO] service.stop() closes the http server | listening on port [INFO] http server is started with the service | starting service [INFO] http server is started with the service | listening on port [INFO] http server is started with the service | bang bang! -[INFO] service.stop() closes the http server | closing server... [INFO] http server is started with the service | closing server... -pass ─ http-server.test.wsim » root/env0/test:http server is started with the service -pass ─ http-server.test.wsim » root/env1/test:service.stop() closes the http server +[INFO] service.stop() closes the http server | starting service +[INFO] service.stop() closes the http server | listening on port +[INFO] service.stop() closes the http server | closing server... +pass ─ http-server.test.wsim » root/Default/test:http server is started with the service +pass ─ http-server.test.wsim » root/Default/test:service.stop() closes the http server Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/minimal.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/minimal.test.w_test_sim.md index d443f4cc92f..84a681ad084 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/minimal.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/minimal.test.w_test_sim.md @@ -4,7 +4,7 @@ ```log [INFO] start and stop | hello, service! [INFO] start and stop | stopping! -pass ─ minimal.test.wsim » root/env0/test:start and stop +pass ─ minimal.test.wsim » root/Default/test:start and stop Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/stateful.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/stateful.test.w_test_sim.md index bb3609460d9..77e4ac5b324 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/stateful.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/stateful.test.w_test_sim.md @@ -5,7 +5,7 @@ [INFO] service is ready only after onStart finishes | starting service [INFO] service is ready only after onStart finishes | stopping service [INFO] service is ready only after onStart finishes | state is: 456 -pass ─ stateful.test.wsim » root/env0/test:service is ready only after onStart finishes +pass ─ stateful.test.wsim » root/Default/test:service is ready only after onStart finishes Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/tokens.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/tokens.test.w_test_sim.md index 307cfc1e7d9..29f40cd8550 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/tokens.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/service/tokens.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ tokens.test.wsim » root/env0/test:will bind and use tokens +pass ─ tokens.test.wsim » root/Default/test:will bind and use tokens Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/get.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/get.test.w_test_sim.md index e7ee106144f..197bc955b9b 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/get.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/get.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ get.test.wsim » root/env0/test:state.get() returns the runtime value -pass ─ get.test.wsim » root/env1/test:state.tryGet() return nil if there is no value +pass ─ get.test.wsim » root/Default/test:state.get() returns the runtime value +pass ─ get.test.wsim » root/Default/test:state.tryGet() return nil if there is no value Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/set.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/set.test.w_test_sim.md index 77559acfd28..27433f0eae2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/set.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/state/set.test.w_test_sim.md @@ -3,7 +3,7 @@ ## stdout.log ```log [INFO] token resolved at runtime | 2023-10-16T20:47:39.511Z -pass ─ set.test.wsim » root/env0/test:token resolved at runtime +pass ─ set.test.wsim » root/Default/test:token resolved at runtime Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/array.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/array.test.w_test_sim.md index 4ca4b3fe745..b2035b0be04 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/array.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/array.test.w_test_sim.md @@ -2,24 +2,24 @@ ## stdout.log ```log -pass ─ array.test.wsim » root/env0/test:length -pass ─ array.test.wsim » root/env1/test:at() -pass ─ array.test.wsim » root/env10/test:joinWithDefaultSeparator() -pass ─ array.test.wsim » root/env11/test:copy() -pass ─ array.test.wsim » root/env12/test:copyMut() -pass ─ array.test.wsim » root/env13/test:lastIndexOf() -pass ─ array.test.wsim » root/env14/test:set() -pass ─ array.test.wsim » root/env15/test:insert() -pass ─ array.test.wsim » root/env16/test:removeFirst() -pass ─ array.test.wsim » root/env17/test:slice() -pass ─ array.test.wsim » root/env2/test:pushAndPop() -pass ─ array.test.wsim » root/env3/test:popAt() -pass ─ array.test.wsim » root/env4/test:concatMutArray() -pass ─ array.test.wsim » root/env5/test:concatArray() -pass ─ array.test.wsim » root/env6/test:contains() -pass ─ array.test.wsim » root/env7/test:indexOf() -pass ─ array.test.wsim » root/env8/test:indexOfArray() -pass ─ array.test.wsim » root/env9/test:join() +pass ─ array.test.wsim » root/Default/test:at() +pass ─ array.test.wsim » root/Default/test:concatArray() +pass ─ array.test.wsim » root/Default/test:concatMutArray() +pass ─ array.test.wsim » root/Default/test:contains() +pass ─ array.test.wsim » root/Default/test:copy() +pass ─ array.test.wsim » root/Default/test:copyMut() +pass ─ array.test.wsim » root/Default/test:indexOf() +pass ─ array.test.wsim » root/Default/test:indexOfArray() +pass ─ array.test.wsim » root/Default/test:insert() +pass ─ array.test.wsim » root/Default/test:join() +pass ─ array.test.wsim » root/Default/test:joinWithDefaultSeparator() +pass ─ array.test.wsim » root/Default/test:lastIndexOf() +pass ─ array.test.wsim » root/Default/test:length +pass ─ array.test.wsim » root/Default/test:popAt() +pass ─ array.test.wsim » root/Default/test:pushAndPop() +pass ─ array.test.wsim » root/Default/test:removeFirst() +pass ─ array.test.wsim » root/Default/test:set() +pass ─ array.test.wsim » root/Default/test:slice() Tests 18 passed (18) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/bool.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/bool.test.w_test_sim.md index e687f9a4465..35e560274b9 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/bool.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/bool.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ bool.test.wsim » root/env0/test:fromJson() +pass ─ bool.test.wsim » root/Default/test:fromJson() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/datetime.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/datetime.test.w_test_sim.md index fe785e9c28d..cd0698467cd 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/datetime.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/datetime.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ datetime.test.wsim » root/env0/test:inflight datetime +pass ─ datetime.test.wsim » root/Default/test:inflight datetime Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/duration.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/duration.test.w_test_sim.md index 98968c3f14a..80e284f00f2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/duration.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/duration.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ duration.test.wsim » root/env0/test:duration +pass ─ duration.test.wsim » root/Default/test:duration Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/json.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/json.test.w_test_sim.md index 1ff2de3e9ea..2771f70b2a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/json.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/json.test.w_test_sim.md @@ -2,17 +2,17 @@ ## stdout.log ```log -pass ─ json.test.wsim » root/env0/test:has() -pass ─ json.test.wsim » root/env1/test:get() -pass ─ json.test.wsim » root/env10/test:delete() for MutJson -pass ─ json.test.wsim » root/env2/test:getAt() -pass ─ json.test.wsim » root/env3/test:set() -pass ─ json.test.wsim » root/env4/test:setAt() -pass ─ json.test.wsim » root/env5/test:stringify() -pass ─ json.test.wsim » root/env6/test:keys(), values(), entries() -pass ─ json.test.wsim » root/env7/test:parse() -pass ─ json.test.wsim » root/env8/test:tryParse() -pass ─ json.test.wsim » root/env9/test:deepCopy(), deepCopyMut() +pass ─ json.test.wsim » root/Default/test:deepCopy(), deepCopyMut() +pass ─ json.test.wsim » root/Default/test:delete() for MutJson +pass ─ json.test.wsim » root/Default/test:get() +pass ─ json.test.wsim » root/Default/test:getAt() +pass ─ json.test.wsim » root/Default/test:has() +pass ─ json.test.wsim » root/Default/test:keys(), values(), entries() +pass ─ json.test.wsim » root/Default/test:parse() +pass ─ json.test.wsim » root/Default/test:set() +pass ─ json.test.wsim » root/Default/test:setAt() +pass ─ json.test.wsim » root/Default/test:stringify() +pass ─ json.test.wsim » root/Default/test:tryParse() Tests 11 passed (11) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/map.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/map.test.w_test_sim.md index 76793879ce9..f2d0da83a88 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/map.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/map.test.w_test_sim.md @@ -2,19 +2,19 @@ ## stdout.log ```log -pass ─ map.test.wsim » root/env0/test:equality -pass ─ map.test.wsim » root/env1/test:mutability -pass ─ map.test.wsim » root/env10/test:clear() -pass ─ map.test.wsim » root/env11/test:delete() -pass ─ map.test.wsim » root/env12/test:entries() -pass ─ map.test.wsim » root/env2/test:size() -pass ─ map.test.wsim » root/env3/test:get() -pass ─ map.test.wsim » root/env4/test:has() -pass ─ map.test.wsim » root/env5/test:values() -pass ─ map.test.wsim » root/env6/test:keys() -pass ─ map.test.wsim » root/env7/test:copyMut() -pass ─ map.test.wsim » root/env8/test:copy() -pass ─ map.test.wsim » root/env9/test:set() +pass ─ map.test.wsim » root/Default/test:clear() +pass ─ map.test.wsim » root/Default/test:copy() +pass ─ map.test.wsim » root/Default/test:copyMut() +pass ─ map.test.wsim » root/Default/test:delete() +pass ─ map.test.wsim » root/Default/test:entries() +pass ─ map.test.wsim » root/Default/test:equality +pass ─ map.test.wsim » root/Default/test:get() +pass ─ map.test.wsim » root/Default/test:has() +pass ─ map.test.wsim » root/Default/test:keys() +pass ─ map.test.wsim » root/Default/test:mutability +pass ─ map.test.wsim » root/Default/test:set() +pass ─ map.test.wsim » root/Default/test:size() +pass ─ map.test.wsim » root/Default/test:values() Tests 13 passed (13) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/node.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/node.test.w_test_sim.md index 5da5c20b7fe..b8fbf178f24 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/node.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/node.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ node.test.wsim » root/env0/test:singleton +pass ─ node.test.wsim » root/Default/test:singleton Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/number.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/number.test.w_test_sim.md index 48a9fc032c7..311b715478a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/number.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/number.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ number.test.wsim » root/env0/test:fromJson -pass ─ number.test.wsim » root/env1/test:fromStr +pass ─ number.test.wsim » root/Default/test:fromJson +pass ─ number.test.wsim » root/Default/test:fromStr Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/range.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/range.test.w_test_sim.md index 86701394e5b..b2a119020c2 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/range.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/range.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ range.test.wsim » root/env0/test:ranges work +pass ─ range.test.wsim » root/Default/test:ranges work Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/regex.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/regex.test.w_test_sim.md index f84a8cc172b..df3d4048ca5 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/regex.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/regex.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ regex.test.wsim » root/env0/test:regex +pass ─ regex.test.wsim » root/Default/test:regex Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/set.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/set.test.w_test_sim.md index e1cc15fbc44..1172793e332 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/set.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/set.test.w_test_sim.md @@ -2,16 +2,16 @@ ## stdout.log ```log -pass ─ set.test.wsim » root/env0/test:equality -pass ─ set.test.wsim » root/env1/test:mutability -pass ─ set.test.wsim » root/env2/test:size() -pass ─ set.test.wsim » root/env3/test:has() -pass ─ set.test.wsim » root/env4/test:toArray() -pass ─ set.test.wsim » root/env5/test:copyMut() -pass ─ set.test.wsim » root/env6/test:add() -pass ─ set.test.wsim » root/env7/test:delete() -pass ─ set.test.wsim » root/env8/test:clear() -pass ─ set.test.wsim » root/env9/test:copy() +pass ─ set.test.wsim » root/Default/test:add() +pass ─ set.test.wsim » root/Default/test:clear() +pass ─ set.test.wsim » root/Default/test:copy() +pass ─ set.test.wsim » root/Default/test:copyMut() +pass ─ set.test.wsim » root/Default/test:delete() +pass ─ set.test.wsim » root/Default/test:equality +pass ─ set.test.wsim » root/Default/test:has() +pass ─ set.test.wsim » root/Default/test:mutability +pass ─ set.test.wsim » root/Default/test:size() +pass ─ set.test.wsim » root/Default/test:toArray() Tests 10 passed (10) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/string.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/string.test.w_test_sim.md index f7284323c79..135101a6429 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/string.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/string.test.w_test_sim.md @@ -2,21 +2,21 @@ ## stdout.log ```log -pass ─ string.test.wsim » root/env0/test:fromJson -pass ─ string.test.wsim » root/env1/test:length -pass ─ string.test.wsim » root/env10/test:substring() -pass ─ string.test.wsim » root/env11/test:trim() -pass ─ string.test.wsim » root/env12/test:contains() -pass ─ string.test.wsim » root/env13/test:replace() -pass ─ string.test.wsim » root/env14/test:replaceAll() -pass ─ string.test.wsim » root/env2/test:at() -pass ─ string.test.wsim » root/env3/test:concat() -pass ─ string.test.wsim » root/env4/test:endsWith() -pass ─ string.test.wsim » root/env5/test:indexOf() -pass ─ string.test.wsim » root/env6/test:lowercase() -pass ─ string.test.wsim » root/env7/test:uppercase() -pass ─ string.test.wsim » root/env8/test:split() -pass ─ string.test.wsim » root/env9/test:startsWith() +pass ─ string.test.wsim » root/Default/test:at() +pass ─ string.test.wsim » root/Default/test:concat() +pass ─ string.test.wsim » root/Default/test:contains() +pass ─ string.test.wsim » root/Default/test:endsWith() +pass ─ string.test.wsim » root/Default/test:fromJson +pass ─ string.test.wsim » root/Default/test:indexOf() +pass ─ string.test.wsim » root/Default/test:length +pass ─ string.test.wsim » root/Default/test:lowercase() +pass ─ string.test.wsim » root/Default/test:replace() +pass ─ string.test.wsim » root/Default/test:replaceAll() +pass ─ string.test.wsim » root/Default/test:split() +pass ─ string.test.wsim » root/Default/test:startsWith() +pass ─ string.test.wsim » root/Default/test:substring() +pass ─ string.test.wsim » root/Default/test:trim() +pass ─ string.test.wsim » root/Default/test:uppercase() Tests 15 passed (15) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/struct.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/struct.test.w_test_sim.md index c424fe82e04..ab20e377168 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/struct.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/std/struct.test.w_test_sim.md @@ -2,11 +2,11 @@ ## stdout.log ```log -pass ─ struct.test.wsim » root/env0/test:parseJson() -pass ─ struct.test.wsim » root/env1/test:tryParseJson() -pass ─ struct.test.wsim » root/env2/test:invalid parseJson() -pass ─ struct.test.wsim » root/env3/test:invalid tryParseJson() -pass ─ struct.test.wsim » root/env4/test:valid Json types +pass ─ struct.test.wsim » root/Default/test:invalid parseJson() +pass ─ struct.test.wsim » root/Default/test:invalid tryParseJson() +pass ─ struct.test.wsim » root/Default/test:parseJson() +pass ─ struct.test.wsim » root/Default/test:tryParseJson() +pass ─ struct.test.wsim » root/Default/test:valid Json types Tests 5 passed (5) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/aws-topic.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/aws-topic.test.w_test_sim.md index 3f667d3fa01..bee600bc813 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/aws-topic.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/aws-topic.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ aws-topic.test.wsim » root/env0/test:validates the AWS topic name +pass ─ aws-topic.test.wsim » root/Default/test:validates the AWS topic name Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/no_blocking.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/no_blocking.test.w_test_sim.md index 857ae398c05..ab9af449f55 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/no_blocking.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/no_blocking.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ no_blocking.test.wsim » root/env0/test:topic subscribers are invoked without blocking +pass ─ no_blocking.test.wsim » root/Default/test:topic subscribers are invoked without blocking Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/on_message.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/on_message.test.w_test_sim.md index 4d51d9ee652..3f600d4c4b5 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/on_message.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/on_message.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ on_message.test.wsim » root/env0/test:onMessage +pass ─ on_message.test.wsim » root/Default/test:onMessage Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/subscribe-queue.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/subscribe-queue.test.w_test_sim.md index a7e449bf4e4..f925840157d 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/subscribe-queue.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/subscribe-queue.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ subscribe-queue.test.wsim » root/env0/test:functions and queues receiving messages from the topic +pass ─ subscribe-queue.test.wsim » root/Default/test:functions and queues receiving messages from the topic Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/variadic-parameter.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/variadic-parameter.test.w_test_sim.md index 3d25b2d907f..fe43f719ab4 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/variadic-parameter.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/topic/variadic-parameter.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ variadic-parameter.test.wsim » root/env0/test:publish message array to topic +pass ─ variadic-parameter.test.wsim » root/Default/test:publish message array to topic Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/base64.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/base64.test.w_test_sim.md index 0cb5fecc777..b915e3139ba 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/base64.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/base64.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ base64.test.wsim » root/env0/test:inflight base64 +pass ─ base64.test.wsim » root/Default/test:inflight base64 Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/env.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/env.test.w_test_sim.md index 30dd87de42f..975844469bf 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/env.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/env.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ env.test.wsim » root/env0/test:use util from inflight -pass ─ env.test.wsim » root/env1/test:set env from inflight +pass ─ env.test.wsim » root/Default/test:set env from inflight +pass ─ env.test.wsim » root/Default/test:use util from inflight Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/exec.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/exec.test.w_test_sim.md index 1ae379cdd0d..8353cad7ca8 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/exec.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/exec.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ exec.test.wsim » root/env0/test:exec() +pass ─ exec.test.wsim » root/Default/test:exec() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/nanoid.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/nanoid.test.w_test_sim.md index c60dbd918c3..2417a880bfb 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/nanoid.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/nanoid.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ nanoid.test.wsim » root/env0/test:inflight nanoid +pass ─ nanoid.test.wsim » root/Default/test:inflight nanoid Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/os.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/os.test.w_test_sim.md index 1ce32caca53..12efe72000a 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/os.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/os.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ os.test.wsim » root/env0/test:util.os() inflight +pass ─ os.test.wsim » root/Default/test:util.os() inflight Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sha256.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sha256.test.w_test_sim.md index 4711e4825dc..5844bf94ad6 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sha256.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sha256.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ sha256.test.wsim » root/env0/test:inflight sha256 +pass ─ sha256.test.wsim » root/Default/test:inflight sha256 Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/shell.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/shell.test.w_test_sim.md index 34e551c4a6e..e71f779daf0 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/shell.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/shell.test.w_test_sim.md @@ -2,12 +2,12 @@ ## stdout.log ```log -pass ─ shell.test.wsim » root/env0/test:shell() with valid command -pass ─ shell.test.wsim » root/env1/test:shell() with invalid command -pass ─ shell.test.wsim » root/env2/test:shell() with explicit non-zero exit status -pass ─ shell.test.wsim » root/env3/test:shell() with env option -pass ─ shell.test.wsim » root/env4/test:shell() with inheritEnv option -pass ─ shell.test.wsim » root/env5/test:shell() with cwd option +pass ─ shell.test.wsim » root/Default/test:shell() with cwd option +pass ─ shell.test.wsim » root/Default/test:shell() with env option +pass ─ shell.test.wsim » root/Default/test:shell() with explicit non-zero exit status +pass ─ shell.test.wsim » root/Default/test:shell() with inheritEnv option +pass ─ shell.test.wsim » root/Default/test:shell() with invalid command +pass ─ shell.test.wsim » root/Default/test:shell() with valid command Tests 6 passed (6) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sleep.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sleep.test.w_test_sim.md index 17841ee318c..722883e4a58 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sleep.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/sleep.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ sleep.test.wsim » root/env0/test:sleep 100 mili seconds +pass ─ sleep.test.wsim » root/Default/test:sleep 100 mili seconds Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/spawn.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/spawn.test.w_test_sim.md index 80bbb943061..1af807303e4 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/spawn.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/spawn.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ spawn.test.wsim » root/env0/test:spawn() +pass ─ spawn.test.wsim » root/Default/test:spawn() Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/uuidv4.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/uuidv4.test.w_test_sim.md index b92a9292ed0..00193bd111f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/uuidv4.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/uuidv4.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ uuidv4.test.wsim » root/env0/test:inflight uuidv4 +pass ─ uuidv4.test.wsim » root/Default/test:inflight uuidv4 Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/wait-until.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/wait-until.test.w_test_sim.md index 78fd5318735..3553d21faf5 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/wait-until.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/util/wait-until.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ wait-until.test.wsim » root/env0/test:waitUntil +pass ─ wait-until.test.wsim » root/Default/test:waitUntil Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/aws-website.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/aws-website.test.w_test_sim.md index 14c5dad96d8..fd844fb5c95 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/aws-website.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/aws-website.test.w_test_sim.md @@ -3,7 +3,7 @@ ## stdout.log ```log [INFO] validates the AWS bucket name | Website server listening on http://: -pass ─ aws-website.test.wsim » root/env0/test:validates the AWS bucket name +pass ─ aws-website.test.wsim » root/Default/test:validates the AWS bucket name Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/two_websites.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/two_websites.test.w_test_sim.md index 7077d3f9453..da4df844c7f 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/two_websites.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/two_websites.test.w_test_sim.md @@ -4,7 +4,7 @@ ```log [INFO] deploying two websites | Website server listening on http://: [INFO] deploying two websites | Website server listening on http://: -pass ─ two_websites.test.wsim » root/env0/test:deploying two websites +pass ─ two_websites.test.wsim » root/Default/test:deploying two websites Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/website.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/website.test.w_test_sim.md index f9c7fd383a7..25c2cc4b827 100644 --- a/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/website.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/sdk_tests/website/website.test.w_test_sim.md @@ -4,8 +4,8 @@ ```log [INFO] access files on the website | Website server listening on http://: [INFO] page not found | Website server listening on http://: -pass ─ website.test.wsim » root/env0/test:access files on the website -pass ─ website.test.wsim » root/env1/test:page not found +pass ─ website.test.wsim » root/Default/test:access files on the website +pass ─ website.test.wsim » root/Default/test:page not found Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_test_sim.md index f5dcf36dcb0..00b0877250f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/anon_function.test.w_test_sim.md @@ -5,7 +5,7 @@ 1 2 3 -pass ─ anon_function.test.wsim » root/env0/test: +pass ─ anon_function.test.wsim » root/Default/test: Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_test_sim.md index 20c82a954e2..729a4b68fb7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ api.test.wsim » root/env0/test:api url +pass ─ api.test.wsim » root/Default/test:api url Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_test_sim.md index 610f10d07de..096ce614e8e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_custom.test.w_test_sim.md @@ -2,9 +2,9 @@ ## stdout.log ```log -pass ─ api_cors_custom.test.wsim » root/env0/test:GET --users has cors headers -pass ─ api_cors_custom.test.wsim » root/env1/test:OPTIONS --users has cors headers -pass ─ api_cors_custom.test.wsim » root/env2/test:OPTIONS --users responds with proper headers for requested +pass ─ api_cors_custom.test.wsim » root/Default/test:GET --users has cors headers +pass ─ api_cors_custom.test.wsim » root/Default/test:OPTIONS --users has cors headers +pass ─ api_cors_custom.test.wsim » root/Default/test:OPTIONS --users responds with proper headers for requested Tests 3 passed (3) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_test_sim.md index 0fb2c4b733c..6bdc8c8433a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/api_cors_default.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ api_cors_default.test.wsim » root/env0/test:GET --users has default cors headers -pass ─ api_cors_default.test.wsim » root/env1/test:OPTIONS --users has default cors headers +pass ─ api_cors_default.test.wsim » root/Default/test:GET --users has default cors headers +pass ─ api_cors_default.test.wsim » root/Default/test:OPTIONS --users has default cors headers Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_test_sim.md index b89d691f0b6..aa5ab9308e5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/assert.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ assert.test.wsim » root/env0/test:assert works inflight +pass ─ assert.test.wsim » root/Default/test:assert works inflight Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_test_sim.md index fc829d60e28..2d9101c41a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_jsii.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ bring_jsii.test.wsim » root/env0/test:sayHello +pass ─ bring_jsii.test.wsim » root/Default/test:sayHello Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_test_sim.md index 7dd17b1936c..a8e11350d4f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_local.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ bring_local.test.wsim » root/env0/test:add data to store -pass ─ bring_local.test.wsim » root/env1/test:greet +pass ─ bring_local.test.wsim » root/Default/test:add data to store +pass ─ bring_local.test.wsim » root/Default/test:greet Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_test_sim.md index 9e39299d8b0..742c61116f7 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bring_wing_library.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ bring_wing_library.test.wsim » root/env0/test:makeKeyInflight +pass ─ bring_wing_library.test.wsim » root/Default/test:makeKeyInflight Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_test_sim.md index f2eb3f45b72..6549be503af 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/bucket_keys.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ bucket_keys.test.wsim » root/env0/test:test +pass ─ bucket_keys.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_test_sim.md index fcda50b6432..a1114d81069 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/call_static_of_myself.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ call_static_of_myself.test.wsim » root/env0/test:test +pass ─ call_static_of_myself.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_test_sim.md index 92c558b5f51..0e94b8e711f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/calling_inflight_variants.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ calling_inflight_variants.test.wsim » root/env0/test:calling different types of inflights +pass ─ calling_inflight_variants.test.wsim » root/Default/test:calling different types of inflights Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_test_sim.md index 1a6c1aceab0..2dae8bbce6d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_containers.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ capture_containers.test.wsim » root/env0/test:capture_containers +pass ─ capture_containers.test.wsim » root/Default/test:capture_containers Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_test_sim.md index 647d95c01d0..9615e92fa3a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_in_binary.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ capture_in_binary.test.wsim » root/env0/test:binary expressions +pass ─ capture_in_binary.test.wsim » root/Default/test:binary expressions Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_test_sim.md index c119551a667..de84d850b84 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_mutables.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ capture_mutables.test.wsim » root/env0/test:main +pass ─ capture_mutables.test.wsim » root/Default/test:main Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_test_sim.md index 0314ae38c62..90aced0d34b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassigable_class_field.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ capture_reassigable_class_field.test.wsim » root/env0/test:main +pass ─ capture_reassigable_class_field.test.wsim » root/Default/test:main Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_test_sim.md index 5bc9e343cb0..17f8a87d2ff 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_reassignable.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ capture_reassignable.test.wsim » root/env0/test:main +pass ─ capture_reassignable.test.wsim » root/Default/test:main Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_test_sim.md index f48985d7293..27bba308648 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_and_data.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ capture_resource_and_data.test.wsim » root/env0/test:resource and data +pass ─ capture_resource_and_data.test.wsim » root/Default/test:resource and data Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_test_sim.md index 49fb7c629b7..54038a1afea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_resource_with_no_inflight.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ capture_resource_with_no_inflight.test.wsim » root/env0/test:test +pass ─ capture_resource_with_no_inflight.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_test_sim.md index 0d22745ac8b..934d88ca695 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/capture_tokens.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ capture_tokens.test.wsim » root/env0/test:inflight class -pass ─ capture_tokens.test.wsim » root/env1/test:inflight globals +pass ─ capture_tokens.test.wsim » root/Default/test:inflight class +pass ─ capture_tokens.test.wsim » root/Default/test:inflight globals Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/chaining_macros.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/chaining_macros.test.w_test_sim.md index 3d2b4a8b336..ccff569ea45 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/chaining_macros.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/chaining_macros.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ chaining_macros.test.wsim » root/env0/test:optional chaining macros -pass ─ chaining_macros.test.wsim » root/env1/test:nesting and chaining +pass ─ chaining_macros.test.wsim » root/Default/test:nesting and chaining +pass ─ chaining_macros.test.wsim » root/Default/test:optional chaining macros Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_test_sim.md index adce05065dc..671dd3f9b53 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/class.test.w_test_sim.md @@ -2,11 +2,11 @@ ## stdout.log ```log -pass ─ class.test.wsim » root/env0/test:inflight classes with no ctor or ctor args -pass ─ class.test.wsim » root/env1/test:access inflight field -pass ─ class.test.wsim » root/env2/test:check derived class instance variables -pass ─ class.test.wsim » root/env3/test:devived class init body happens after super -pass ─ class.test.wsim » root/env4/test:inflight super constructor +pass ─ class.test.wsim » root/Default/test:access inflight field +pass ─ class.test.wsim » root/Default/test:check derived class instance variables +pass ─ class.test.wsim » root/Default/test:devived class init body happens after super +pass ─ class.test.wsim » root/Default/test:inflight classes with no ctor or ctor args +pass ─ class.test.wsim » root/Default/test:inflight super constructor Tests 5 passed (5) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_test_sim.md index 6dbc1097b61..37c43bb87f9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/closure_class.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ closure_class.test.wsim » root/env0/test:test +pass ─ closure_class.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_test_sim.md index 11fbcf2067e..fb95dfaf3a0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/construct-base.test.w_test_sim.md @@ -3,10 +3,10 @@ ## stdout.log ```log my id is WingResource -path of sqs.queue: root/env0/SqsQueue -path of wing resource: root/env0/WingResource +path of sqs.queue: root/Default/SqsQueue +path of wing resource: root/Default/WingResource display name of wing resource: no display name -root/env0/WingResource +root/Default/WingResource pass ─ construct-base.test.wsim (no tests) Tests 1 passed (1) diff --git a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_test_sim.md index 8e36bc18d3e..93cd925e773 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/deep_equality.test.w_test_sim.md @@ -2,19 +2,19 @@ ## stdout.log ```log -pass ─ deep_equality.test.wsim » root/env0/test:Primitive types with the same value -pass ─ deep_equality.test.wsim » root/env1/test:Primitive types with different values -pass ─ deep_equality.test.wsim » root/env10/test:Array with different values -pass ─ deep_equality.test.wsim » root/env11/test:Struct with the same value -pass ─ deep_equality.test.wsim » root/env12/test:Struct with different values -pass ─ deep_equality.test.wsim » root/env2/test:Json with the same value -pass ─ deep_equality.test.wsim » root/env3/test:Json with different values -pass ─ deep_equality.test.wsim » root/env4/test:Json.values equality -pass ─ deep_equality.test.wsim » root/env5/test:Set types with the same value -pass ─ deep_equality.test.wsim » root/env6/test:Set types with different values -pass ─ deep_equality.test.wsim » root/env7/test:Map with the same value -pass ─ deep_equality.test.wsim » root/env8/test:Map with different values -pass ─ deep_equality.test.wsim » root/env9/test:Array with the same value +pass ─ deep_equality.test.wsim » root/Default/test:Array with different values +pass ─ deep_equality.test.wsim » root/Default/test:Array with the same value +pass ─ deep_equality.test.wsim » root/Default/test:Json with different values +pass ─ deep_equality.test.wsim » root/Default/test:Json with the same value +pass ─ deep_equality.test.wsim » root/Default/test:Json.values equality +pass ─ deep_equality.test.wsim » root/Default/test:Map with different values +pass ─ deep_equality.test.wsim » root/Default/test:Map with the same value +pass ─ deep_equality.test.wsim » root/Default/test:Primitive types with different values +pass ─ deep_equality.test.wsim » root/Default/test:Primitive types with the same value +pass ─ deep_equality.test.wsim » root/Default/test:Set types with different values +pass ─ deep_equality.test.wsim » root/Default/test:Set types with the same value +pass ─ deep_equality.test.wsim » root/Default/test:Struct with different values +pass ─ deep_equality.test.wsim » root/Default/test:Struct with the same value Tests 13 passed (13) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_test_sim.md index c32554d087a..612d1485d7d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/double_reference.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ double_reference.test.wsim » root/env0/test:hello +pass ─ double_reference.test.wsim » root/Default/test:hello Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_test_sim.md index e70f843f090..2d029eab5b6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/doubler.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ doubler.test.wsim » root/env0/test:f(2) == 8 +pass ─ doubler.test.wsim » root/Default/test:f(2) == 8 Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_test_sim.md index acf4b2e4fc7..57f7fa778b3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/enums.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ enums.test.wsim » root/env0/test:inflight -pass ─ enums.test.wsim » root/env1/test:toStr inflight +pass ─ enums.test.wsim » root/Default/test:inflight +pass ─ enums.test.wsim » root/Default/test:toStr inflight Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_test_sim.md index fae9212b66f..ef39b5ebc1c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/explicit_lift_qualification.test.w_test_sim.md @@ -2,9 +2,9 @@ ## stdout.log ```log -pass ─ explicit_lift_qualification.test.wsim » root/env0/test:explicit method lift qualification -pass ─ explicit_lift_qualification.test.wsim » root/env1/test:explicit closure lift qualification -pass ─ explicit_lift_qualification.test.wsim » root/env2/test:explicit interface lift qualification +pass ─ explicit_lift_qualification.test.wsim » root/Default/test:explicit closure lift qualification +pass ─ explicit_lift_qualification.test.wsim » root/Default/test:explicit interface lift qualification +pass ─ explicit_lift_qualification.test.wsim » root/Default/test:explicit method lift qualification Tests 3 passed (3) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_test_sim.md index abad0b57bc2..051cc85df8b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/expressions_string_interpolation.test.w_test_sim.md @@ -5,7 +5,7 @@ {1+1} 1 a non { { {interpolated } } } strin{ g } this is 'a non { { {interpolated } } } strin{ g }' -pass ─ expressions_string_interpolation.test.wsim » root/env0/test:str interpolation with lifted expr +pass ─ expressions_string_interpolation.test.wsim » root/Default/test:str interpolation with lifted expr Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extend_counter.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/extend_counter.test.w_test_sim.md index 9a78c1dbbdf..881b1b27100 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extend_counter.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extend_counter.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ extend_counter.test.wsim » root/env0/test:counter works +pass ─ extend_counter.test.wsim » root/Default/test:counter works Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_test_sim.md index dbabcbf6d8e..f4bef1d97d6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/extern_implementation.test.w_test_sim.md @@ -3,8 +3,8 @@ ## stdout.log ```log [INFO] console | printing hey there -pass ─ extern_implementation.test.wsim » root/env0/test:call -pass ─ extern_implementation.test.wsim » root/env1/test:console +pass ─ extern_implementation.test.wsim » root/Default/test:call +pass ─ extern_implementation.test.wsim » root/Default/test:console Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_test_sim.md index 0b202809661..fece7e8a2ad 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/function_returns_function.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ function_returns_function.test.wsim » root/env0/test:inflight functions can return other inflight functions +pass ─ function_returns_function.test.wsim » root/Default/test:inflight functions can return other inflight functions Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_test_sim.md index b71e90a3214..db36844e3a2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/impl_interface.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ impl_interface.test.wsim » root/env0/test:can call inherited inflight interface method +pass ─ impl_interface.test.wsim » root/Default/test:can call inherited inflight interface method Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_test_sim.md index a5a855d700f..657b9c4519a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_capture_static.test.w_test_sim.md @@ -3,10 +3,10 @@ ## stdout.log ```log [INFO] call static method of a namespaced type | WING_TARGET=sim -pass ─ inflight_capture_static.test.wsim » root/env0/test:call static method of preflight -pass ─ inflight_capture_static.test.wsim » root/env1/test:call static method of an outer inflight class -pass ─ inflight_capture_static.test.wsim » root/env2/test:call static method of an inner inflight class -pass ─ inflight_capture_static.test.wsim » root/env3/test:call static method of a namespaced type +pass ─ inflight_capture_static.test.wsim » root/Default/test:call static method of a namespaced type +pass ─ inflight_capture_static.test.wsim » root/Default/test:call static method of an inner inflight class +pass ─ inflight_capture_static.test.wsim » root/Default/test:call static method of an outer inflight class +pass ─ inflight_capture_static.test.wsim » root/Default/test:call static method of preflight Tests 4 passed (4) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_test_sim.md index f871a46688c..7cecf6650ca 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_as_struct_members.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_class_as_struct_members.test.wsim » root/env0/test:test +pass ─ inflight_class_as_struct_members.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_test_sim.md index 19f28bbfc1b..7fee05d7caa 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_const.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_class_capture_const.test.wsim » root/env0/test:inflight class captures const +pass ─ inflight_class_capture_const.test.wsim » root/Default/test:inflight class captures const Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md index e7220befa0b..87058926464 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_capture_preflight_object.test.w_test_sim.md @@ -2,11 +2,11 @@ ## stdout.log ```log -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env0/test:inflight class captures preflight resource -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env1/test:inflight class type captures preflight resource -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env2/test:inflight class qualified without explicit reference -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env3/test:inflight class defined inflight captures preflight object -pass ─ inflight_class_capture_preflight_object.test.wsim » root/env4/test:bring inflight class from subdir +pass ─ inflight_class_capture_preflight_object.test.wsim » root/Default/test:bring inflight class from subdir +pass ─ inflight_class_capture_preflight_object.test.wsim » root/Default/test:inflight class captures preflight resource +pass ─ inflight_class_capture_preflight_object.test.wsim » root/Default/test:inflight class defined inflight captures preflight object +pass ─ inflight_class_capture_preflight_object.test.wsim » root/Default/test:inflight class qualified without explicit reference +pass ─ inflight_class_capture_preflight_object.test.wsim » root/Default/test:inflight class type captures preflight resource Tests 5 passed (5) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_test_sim.md index ad602343b8b..e7969a3e7e6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_definitions.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_class_definitions.test.wsim » root/env0/test:test +pass ─ inflight_class_definitions.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_test_sim.md index 8ccb923a446..2f8f4a92a1f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inner_capture_mutable.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_class_inner_capture_mutable.test.wsim » root/env0/test:inner inflight class capture immutable +pass ─ inflight_class_inner_capture_mutable.test.wsim » root/Default/test:inner inflight class capture immutable Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_test_sim.md index ca111c882f6..5a5b8d02a5b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_inside_inflight_closure.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ inflight_class_inside_inflight_closure.test.wsim » root/env0/test:it works -pass ─ inflight_class_inside_inflight_closure.test.wsim » root/env1/test:inflight class inside closure captures from closure +pass ─ inflight_class_inside_inflight_closure.test.wsim » root/Default/test:inflight class inside closure captures from closure +pass ─ inflight_class_inside_inflight_closure.test.wsim » root/Default/test:it works Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_test_sim.md index 2ce3bcd566e..bff441b02f8 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_outside_inflight_closure.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_class_outside_inflight_closure.test.wsim » root/env0/test:inflight class outside inflight closure +pass ─ inflight_class_outside_inflight_closure.test.wsim » root/Default/test:inflight class outside inflight closure Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_test_sim.md index 916e37f5c55..aa186e3e9e3 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_structural_interace_handler.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_class_structural_interace_handler.test.wsim » root/env0/test:structure interface types for 'handle' +pass ─ inflight_class_structural_interace_handler.test.wsim » root/Default/test:structure interface types for 'handle' Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_test_sim.md index 77ccf8e19df..a3b7c03e65c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_class_without_init.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_class_without_init.test.wsim » root/env0/test:inflight class without init +pass ─ inflight_class_without_init.test.wsim » root/Default/test:inflight class without init Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_test_sim.md index 9c4b92869cc..2290e3c0c37 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_as_super_param.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_closure_as_super_param.test.wsim » root/env0/test:boom! +pass ─ inflight_closure_as_super_param.test.wsim » root/Default/test:boom! Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_test_sim.md index f7efd24dd97..59ec6cffb70 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_closure_autoid.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inflight_closure_autoid.test.wsim » root/env0/test:inflight closure auto id +pass ─ inflight_closure_autoid.test.wsim » root/Default/test:inflight closure auto id Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_test_sim.md index ed5a765c34e..9940d638b5a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_handler_singleton.test.w_test_sim.md @@ -3,8 +3,8 @@ ## stdout.log ```log [INFO] single instance of Foo | client has been reused -pass ─ inflight_handler_singleton.test.wsim » root/env0/test:single instance of Foo -pass ─ inflight_handler_singleton.test.wsim » root/env1/test:Foo state is not shared between function invocations +pass ─ inflight_handler_singleton.test.wsim » root/Default/test:Foo state is not shared between function invocations +pass ─ inflight_handler_singleton.test.wsim » root/Default/test:single instance of Foo Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_test_sim.md index ae07d39cff1..062c5ebeb98 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflight_init.test.w_test_sim.md @@ -2,10 +2,10 @@ ## stdout.log ```log -pass ─ inflight_init.test.wsim » root/env0/test:inflight class init -pass ─ inflight_init.test.wsim » root/env1/test:inflight calls parent's init -pass ─ inflight_init.test.wsim » root/env2/test:inflight calls parent's init when non exists -pass ─ inflight_init.test.wsim » root/env3/test:inflight class inherits form JSII class +pass ─ inflight_init.test.wsim » root/Default/test:inflight calls parent's init +pass ─ inflight_init.test.wsim » root/Default/test:inflight calls parent's init when non exists +pass ─ inflight_init.test.wsim » root/Default/test:inflight class inherits form JSII class +pass ─ inflight_init.test.wsim » root/Default/test:inflight class init Tests 4 passed (4) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_test_sim.md index 5e802771ac0..2bade09456c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inflights_calling_inflights.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ inflights_calling_inflights.test.wsim » root/env0/test:inflights can call other inflights -pass ─ inflights_calling_inflights.test.wsim » root/env1/test:variable can be an inflight closure +pass ─ inflights_calling_inflights.test.wsim » root/Default/test:inflights can call other inflights +pass ─ inflights_calling_inflights.test.wsim » root/Default/test:variable can be an inflight closure Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_test_sim.md index 377ace841f2..7c36db08d5d 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inherit_stdlib_class.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inherit_stdlib_class.test.wsim » root/env0/test:can inherit std lib preflight class +pass ─ inherit_stdlib_class.test.wsim » root/Default/test:can inherit std lib preflight class Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_test_sim.md index 73fc2965a51..7ff44a1d432 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/inheritance_class_inflight.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ inheritance_class_inflight.test.wsim » root/env0/test:class inheritence +pass ─ inheritance_class_inflight.test.wsim » root/Default/test:class inheritence Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_test_sim.md index 9b44345163e..77f3dc660bb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/intrinsics.test.w_test_sim.md @@ -6,9 +6,9 @@ [INFO] invoke inflight function | [ 1, 2, 3 ] [INFO] invoke inflight function | "message" should be "message" [INFO] invoke inflight function | [ 1, 2, 3 ] -pass ─ intrinsics.test.wsim » root/env0/test:invoke default function -pass ─ intrinsics.test.wsim » root/env1/test:invoke inflight function -pass ─ intrinsics.test.wsim » root/env2/test:invoke default with lift +pass ─ intrinsics.test.wsim » root/Default/test:invoke default function +pass ─ intrinsics.test.wsim » root/Default/test:invoke default with lift +pass ─ intrinsics.test.wsim » root/Default/test:invoke inflight function Tests 3 passed (3) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_test_sim.md index 8bdd9f6e875..1cdb26b86b5 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/issue_2889.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ issue_2889.test.wsim » root/env0/test:api should return a valid stringified json +pass ─ issue_2889.test.wsim » root/Default/test:api should return a valid stringified json Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_test_sim.md index 75aa22c20bc..c69a41f8237 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_bucket.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ json_bucket.test.wsim » root/env0/test:put +pass ─ json_bucket.test.wsim » root/Default/test:put Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_test_sim.md index 6817855e73c..3cb7f5585b2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/json_static.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ json_static.test.wsim » root/env0/test:Access Json static inflight -pass ─ json_static.test.wsim » root/env1/test:has key or not +pass ─ json_static.test.wsim » root/Default/test:Access Json static inflight +pass ─ json_static.test.wsim » root/Default/test:has key or not Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_test_sim.md index 9df490183f6..d071bd0c249 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_expr_with_this.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ lift_expr_with_this.test.wsim » root/env0/test:test +pass ─ lift_expr_with_this.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_test_sim.md index 7f3b19aee57..b06e5f88342 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_collection.test.w_test_sim.md @@ -2,10 +2,10 @@ ## stdout.log ```log -pass ─ lift_inflight_closure_collection.test.wsim » root/env0/test:lift closure array -pass ─ lift_inflight_closure_collection.test.wsim » root/env1/test:lift closure map -pass ─ lift_inflight_closure_collection.test.wsim » root/env2/test:lift closure set -pass ─ lift_inflight_closure_collection.test.wsim » root/env3/test:lift closure in complex collection +pass ─ lift_inflight_closure_collection.test.wsim » root/Default/test:lift closure array +pass ─ lift_inflight_closure_collection.test.wsim » root/Default/test:lift closure in complex collection +pass ─ lift_inflight_closure_collection.test.wsim » root/Default/test:lift closure map +pass ─ lift_inflight_closure_collection.test.wsim » root/Default/test:lift closure set Tests 4 passed (4) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_test_sim.md index 751766c54f1..fbad2bc615a 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_inflight_closure_returning_object_issue6501.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ lift_inflight_closure_returning_object_issue6501.test.wsim » root/env0/test:test qualify closure returning an inflight object -pass ─ lift_inflight_closure_returning_object_issue6501.test.wsim » root/env1/test:test qualify closure returning a preflight object +pass ─ lift_inflight_closure_returning_object_issue6501.test.wsim » root/Default/test:test qualify closure returning a preflight object +pass ─ lift_inflight_closure_returning_object_issue6501.test.wsim » root/Default/test:test qualify closure returning an inflight object Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_test_sim.md index 5dfbba30923..bcfb56bf84b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_parent_fields.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ lift_parent_fields.test.wsim » root/env0/test:test +pass ─ lift_parent_fields.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_test_sim.md index 8b9912958b7..7e3ce1bb449 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_redefinition.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ lift_redefinition.test.wsim » root/env0/test:test +pass ─ lift_redefinition.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_test_sim.md index 4ba3201c7a0..35a06beabdf 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_shared_resource.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ lift_shared_resource.test.wsim » root/env0/test:call endpoint +pass ─ lift_shared_resource.test.wsim » root/Default/test:call endpoint Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_test_sim.md index 45293518b57..790b5effa0e 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_this.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ lift_this.test.wsim » root/env0/test:test +pass ─ lift_this.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_test_sim.md index fb9d3ab8cde..72e95ad03a1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure.test.w_test_sim.md @@ -4,8 +4,8 @@ ```log [INFO] call non-synthetic closure as a function | handle called [INFO] call non-synthetic closure as a function | putFile called -pass ─ lift_via_closure.test.wsim » root/env0/test:call synthetic closure class as a function -pass ─ lift_via_closure.test.wsim » root/env1/test:call non-synthetic closure as a function +pass ─ lift_via_closure.test.wsim » root/Default/test:call non-synthetic closure as a function +pass ─ lift_via_closure.test.wsim » root/Default/test:call synthetic closure class as a function Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_test_sim.md index 342e666f018..61bdd2c79dc 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_via_closure_explicit.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ lift_via_closure_explicit.test.wsim » root/env0/test:test +pass ─ lift_via_closure_explicit.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_test_sim.md index 823fe122e5f..320700748f1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_weird_order.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ lift_weird_order.test.wsim » root/env0/test:something +pass ─ lift_weird_order.test.wsim » root/Default/test:something Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_test_sim.md index 36565f668af..a277fffc312 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/lift_with_phase_ind.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ lift_with_phase_ind.test.wsim » root/env0/test:Use phase independent methods on lifted object +pass ─ lift_with_phase_ind.test.wsim » root/Default/test:Use phase independent methods on lifted object Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_test_sim.md index 43d97bb3ef1..ee9a6623ce1 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/map_entries.test.w_test_sim.md @@ -2,10 +2,10 @@ ## stdout.log ```log -pass ─ map_entries.test.wsim » root/env0/test:check if map has entries -pass ─ map_entries.test.wsim » root/env1/test:get value from map -pass ─ map_entries.test.wsim » root/env2/test:iterate map using entries() method -pass ─ map_entries.test.wsim » root/env3/test:check entries() when map has multiple entries +pass ─ map_entries.test.wsim » root/Default/test:check entries() when map has multiple entries +pass ─ map_entries.test.wsim » root/Default/test:check if map has entries +pass ─ map_entries.test.wsim » root/Default/test:get value from map +pass ─ map_entries.test.wsim » root/Default/test:iterate map using entries() method Tests 4 passed (4) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_test_sim.md index 51c14388605..41abbe033bb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/mutation_after_class_init.test.w_test_sim.md @@ -3,7 +3,7 @@ ## stdout.log ```log [INFO] hi | received message1 -pass ─ mutation_after_class_init.test.wsim » root/env0/test:hi +pass ─ mutation_after_class_init.test.wsim » root/Default/test:hi Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_test_sim.md index 9e0aba51e6b..401e0cdc2f6 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/new_in_static.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ new_in_static.test.wsim » root/env0/test:play with buckets +pass ─ new_in_static.test.wsim » root/Default/test:play with buckets Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_test_sim.md index 3488992d6b3..aeb52a76a9c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/nil.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ nil.test.wsim » root/env0/test:nil return -pass ─ nil.test.wsim » root/env1/test:optional instance variable +pass ─ nil.test.wsim » root/Default/test:nil return +pass ─ nil.test.wsim » root/Default/test:optional instance variable Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_test_sim.md index 8aebecebc89..4b86c0b36ea 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/on_lift.test.w_test_sim.md @@ -4,7 +4,7 @@ ```log [INFO] onLift and onLiftType allow capabilities to be granted to inflight hosts | I'm expecting ABC to be set [INFO] onLift and onLiftType allow capabilities to be granted to inflight hosts | I'm expecting XYZ to be set -pass ─ on_lift.test.wsim » root/env0/test:onLift and onLiftType allow capabilities to be granted to inflight hosts +pass ─ on_lift.test.wsim » root/Default/test:onLift and onLiftType allow capabilities to be granted to inflight hosts Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_test_sim.md index b834cd3b8cc..f04bce59cba 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/optionals.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ optionals.test.wsim » root/env0/test:t +pass ─ optionals.test.wsim » root/Default/test:t Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_test_sim.md index 44582d5dfaf..bb8c4dfbdfb 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/phase_independent_method_on_string.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ phase_independent_method_on_string.test.wsim » root/env0/test:phase independent method on string evaluated inflight +pass ─ phase_independent_method_on_string.test.wsim » root/Default/test:phase independent method on string evaluated inflight Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_test_sim.md index f1b42daae64..b60c5f0292f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/print.test.w_test_sim.md @@ -4,14 +4,12 @@ ```log preflight log start end -preflight log -start end [INFO] log1 | inflight log 1.1 [INFO] log1 | inflight log 1.2 [INFO] log2 | inflight log 2.1 [INFO] log2 | inflight log 2.2 -pass ─ print.test.wsim » root/env0/test:log1 -pass ─ print.test.wsim » root/env1/test:log2 +pass ─ print.test.wsim » root/Default/test:log1 +pass ─ print.test.wsim » root/Default/test:log2 Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_test_sim.md index 18104bec687..3b08d7fdfc0 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource.test.w_test_sim.md @@ -3,8 +3,8 @@ ## stdout.log ```log [INFO] test | counter is: 201 -pass ─ resource.test.wsim » root/env0/test:test -pass ─ resource.test.wsim » root/env1/test:dependency cycles +pass ─ resource.test.wsim » root/Default/test:dependency cycles +pass ─ resource.test.wsim » root/Default/test:test Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_test_sim.md index 0a9ec8d0fc2..8605e9a589b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_call_static.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ resource_call_static.test.wsim » root/env0/test:access cloud resource through static methods only +pass ─ resource_call_static.test.wsim » root/Default/test:access cloud resource through static methods only Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_test_sim.md index 56369191ec2..76c534b4f73 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures.test.w_test_sim.md @@ -5,7 +5,7 @@ [INFO] test | array.len=3 [INFO] test | field=hello! [INFO] test | this.another.first.myResource:myString -pass ─ resource_captures.test.wsim » root/env0/test:test +pass ─ resource_captures.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_test_sim.md index 64ed0d891a8..d7ff5fe5725 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/resource_captures_globals.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ resource_captures_globals.test.wsim » root/env0/test:test -pass ─ resource_captures_globals.test.wsim » root/env1/test:access cloud resource through static methods only +pass ─ resource_captures_globals.test.wsim » root/Default/test:access cloud resource through static methods only +pass ─ resource_captures_globals.test.wsim » root/Default/test:test Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/rootid.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/rootid.test.w_test_sim.md index 1aa2c9b25a4..91f7715496f 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/rootid.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/rootid.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ rootid.test.wsim » root/env0/test:root id +pass ─ rootid.test.wsim » root/Default/test:root id Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_test_sim.md index 3120eb6a40a..2c57bd6ce80 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/shadowing.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ shadowing.test.wsim » root/env0/test:capture shadow interaction +pass ─ shadowing.test.wsim » root/Default/test:capture shadow interaction Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_test_sim.md index bcbffd2255f..3eed7eec893 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/statements_if.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ statements_if.test.wsim » root/env0/test:test +pass ─ statements_if.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_test_sim.md index dfd4a07d794..2a23ccb8c65 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/static_members.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ static_members.test.wsim » root/env0/test:test +pass ─ static_members.test.wsim » root/Default/test:test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_test_sim.md index ecf64aece0e..c34e88c19f9 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/std_string.test.w_test_sim.md @@ -5,7 +5,7 @@ [INFO] string | index of "s" in s1 is 0 [INFO] string | string [INFO] string | some strings are immutable -pass ─ std_string.test.wsim » root/env0/test:string +pass ─ std_string.test.wsim » root/Default/test:string Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_test_sim.md index f00330424d9..69ab327e28c 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/struct_from_json.test.w_test_sim.md @@ -2,11 +2,11 @@ ## stdout.log ```log -pass ─ struct_from_json.test.wsim » root/env0/test:inflight jsii struct conversion -pass ─ struct_from_json.test.wsim » root/env1/test:flight school student :) -pass ─ struct_from_json.test.wsim » root/env2/test:lifting a student -pass ─ struct_from_json.test.wsim » root/env3/test:inflight schema usage -pass ─ struct_from_json.test.wsim » root/env4/test:unsafe flight +pass ─ struct_from_json.test.wsim » root/Default/test:flight school student :) +pass ─ struct_from_json.test.wsim » root/Default/test:inflight jsii struct conversion +pass ─ struct_from_json.test.wsim » root/Default/test:inflight schema usage +pass ─ struct_from_json.test.wsim » root/Default/test:lifting a student +pass ─ struct_from_json.test.wsim » root/Default/test:unsafe flight Tests 5 passed (5) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_test_sim.md index 02ca8cffbb9..20a4f045ffe 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/structs.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ structs.test.wsim » root/env0/test:struct definitions are phase independant +pass ─ structs.test.wsim » root/Default/test:struct definitions are phase independant Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_test_sim.md index 0c804d97d9d..60a02c02d9b 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/super_call.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ super_call.test.wsim » root/env0/test:super call inflight -pass ─ super_call.test.wsim » root/env1/test:super call sets binding permissions +pass ─ super_call.test.wsim » root/Default/test:super call inflight +pass ─ super_call.test.wsim » root/Default/test:super call sets binding permissions Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_test_sim.md index a4846ce4cef..85d0fa2bda2 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/symbol_shadow.test.w_test_sim.md @@ -2,10 +2,10 @@ ## stdout.log ```log -pass ─ symbol_shadow.test.wsim » root/env0/test:inflight nested should not capture the shadowed var -pass ─ symbol_shadow.test.wsim » root/env1/A/test:inflight in resource should capture the right scoped var -pass ─ symbol_shadow.test.wsim » root/env2/test:inflight on top should capture top -pass ─ symbol_shadow.test.wsim » root/env3/test:insideInflight should capture the right scope +pass ─ symbol_shadow.test.wsim » root/Default/A/test:inflight in resource should capture the right scoped var +pass ─ symbol_shadow.test.wsim » root/Default/test:inflight nested should not capture the shadowed var +pass ─ symbol_shadow.test.wsim » root/Default/test:inflight on top should capture top +pass ─ symbol_shadow.test.wsim » root/Default/test:insideInflight should capture the right scope Tests 4 passed (4) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_test_sim.md index 4a38902caec..da9fc1a2967 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_bucket.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ test_bucket.test.wsim » root/env0/test:put -pass ─ test_bucket.test.wsim » root/env1/test:get +pass ─ test_bucket.test.wsim » root/Default/test:get +pass ─ test_bucket.test.wsim » root/Default/test:put Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_test_sim.md index 7f219b6764e..8c219236025 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/test_without_bring.test.w_test_sim.md @@ -2,7 +2,7 @@ ## stdout.log ```log -pass ─ test_without_bring.test.wsim » root/env0/test:hello test +pass ─ test_without_bring.test.wsim » root/Default/test:hello test Tests 1 passed (1) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_test_sim.md index cf23512dbfe..691f5412581 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/unused_lift.test.w_test_sim.md @@ -2,8 +2,8 @@ ## stdout.log ```log -pass ─ unused_lift.test.wsim » root/env0/test:Use class but not method that access lifted object -pass ─ unused_lift.test.wsim » root/env1/test:Use class but not static method that access lifted object +pass ─ unused_lift.test.wsim » root/Default/test:Use class but not method that access lifted object +pass ─ unused_lift.test.wsim » root/Default/test:Use class but not static method that access lifted object Tests 2 passed (2) Snapshots 1 skipped diff --git a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_test_sim.md b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_test_sim.md index 9168eb92697..93f2cffec81 100644 --- a/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_test_sim.md +++ b/tools/hangar/__snapshots__/test_corpus/valid/website_with_api.test.w_test_sim.md @@ -4,8 +4,8 @@ ```log [INFO] GET --users | Website server listening on http://: [INFO] OPTIONS --users | Website server listening on http://: -pass ─ website_with_api.test.wsim » root/env0/test:GET --users -pass ─ website_with_api.test.wsim » root/env1/test:OPTIONS --users +pass ─ website_with_api.test.wsim » root/Default/test:GET --users +pass ─ website_with_api.test.wsim » root/Default/test:OPTIONS --users Tests 2 passed (2) Snapshots 1 skipped