Skip to content

Commit

Permalink
build: get sample and system tests passing (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Mar 1, 2020
1 parent dc4a335 commit fd9690a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions generated,README.md/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

* [Before you begin](#before-you-begin)
* [Samples](#samples)
* [Quickstart](#quickstart)
* [Create Game Server Realm](#create-game-server-realm)

## Before you begin

Expand All @@ -29,7 +29,9 @@ Before running the samples, make sure you've followed the steps outlined in



### Quickstart
### Create Game Server Realm

Creates a new Realm within Cloud Game Servers

View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/master/samples/quickstart.js).

Expand All @@ -38,7 +40,7 @@ View the [source code](https://github.com/googleapis/nodejs-game-servers/blob/ma
__Usage:__


`node samples/quickstart.js`
`node quickstart.js <project_id> <location> <realmId>`



Expand Down
3 changes: 2 additions & 1 deletion generated,README.md/test/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ describe('Quickstart', () => {
});

after(async () => {
await client.deleteRealm({
const [operation] = await client.deleteRealm({
name: client.realmPath(projectId, location, realmId),
});
await operation.promise();
});
});

0 comments on commit fd9690a

Please sign in to comment.