Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions test/integration/crud/promise_stats.test.js

This file was deleted.

11 changes: 11 additions & 0 deletions test/integration/crud/stats.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { expect } from 'chai';

describe('stats', function () {
it('correctly executes stats()', async function () {
const client = this.configuration.newClient();
await client.connect();
const stats = await client.db('foo').stats();
expect(stats).not.to.be.null;
await client.close();
});
});