Skip to content

Commit 103c7d0

Browse files
committed
add initial files
1 parent 2ec99fb commit 103c7d0

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

javascriptv3/example_code/location-services/scenarios/location-service-basics.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ import data from "./inputs.json" with { type: "json" };
5858
*/
5959
/* v8 ignore next 3 */
6060
const pressEnter = new ScenarioInput("continue", "Press Enter to continue", {
61-
type: "input",
62-
verbose: "true",
61+
type: "confirm",
62+
verbose: "false",
6363
});
6464

6565
const pressEnterConfirm = new ScenarioInput(
6666
"confirm",
6767
"Press Enter to continue",
6868
{
6969
type: "confirm",
70-
verbose: "true",
70+
verbose: "false",
7171
},
7272
);
7373

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
import { describe, it } from "vitest";
5+
import { main } from "../actions/create-map.js";
6+
import data from "../actions/inputs.json";
7+
8+
describe("test copy-object-conditional-request-if-match", () => {
9+
it(
10+
"should not re-throw service exceptions",
11+
async () => {
12+
await main({
13+
MapName: `${data.inputs.mapName}`,
14+
Configuration: { style: "VectorEsriNavigation" },
15+
});
16+
},
17+
{ timeout: 600000 },
18+
);
19+
});

0 commit comments

Comments
 (0)