We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9ef89e + 74cf775 commit 6e483acCopy full SHA for 6e483ac
setup.js
@@ -38,7 +38,7 @@ module.exports = async function () {
38
try {
39
const {TableNames: tableNames} = await Promise.race([
40
dynamoDB.listTables({}),
41
- waitForLocalhost(DEFAULT_PORT)
+ waitForLocalhost(port)
42
]);
43
await deleteTables(dynamoDB, tableNames); // cleanup leftovers
44
} catch (err) {
@@ -54,7 +54,7 @@ module.exports = async function () {
54
55
global.__DYNAMODB__ = await DynamoDbLocal.launch(port, null, options);
56
57
- await waitForLocalhost(DEFAULT_PORT);
+ await waitForLocalhost(port);
58
}
59
60
0 commit comments