Skip to content

Commit

Permalink
test(es-next): ensure inventory collection is already created
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Oct 15, 2019
1 parent c5f1558 commit 8ccea97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/examples/change_streams.js
Expand Up @@ -16,6 +16,7 @@ describe('examples(change-stream):', function() {
client = await this.configuration.newClient().connect();
db = client.db(this.configuration.db);

await db.createCollection('inventory');
await db.collection('inventory').deleteMany({});
});

Expand Down

0 comments on commit 8ccea97

Please sign in to comment.