Skip to content

Commit

Permalink
update readme with wiki information
Browse files Browse the repository at this point in the history
  • Loading branch information
lrlna committed May 13, 2020
1 parent 6720815 commit 7e4fbd3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
## The MongoDB Shell

This repository is a monorepo for all the various components in the MongoDB Shell across
all environments (REPL, Browser, Compass, etc).
all environments (REPL, Browser, Compass, etc). For more information on
currently available APIs and troubleshooting, go to [our wiki](https://github.com/mongodb-js/mongosh/wiki).

## CLI Usage
```shell
Expand Down
4 changes: 2 additions & 2 deletions packages/cli-repl/src/completer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ describe('completer.completer', () => {

it('returns all suggestions', () => {
const i = 'db.';
const dbComplete = Object.keys(shellSignatures.Database.attributes)
const adjusted = dbComplete.map(c => `${i}${c}`)
const dbComplete = Object.keys(shellSignatures.Database.attributes);
const adjusted = dbComplete.map(c => `${i}${c}`);
expect(completer('4.4.0', i)).to.deep.equal([adjusted, i]);
});

Expand Down
4 changes: 2 additions & 2 deletions packages/shell-evaluator/src/shell-evaluator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('ShellEvaluator', () => {
});

it('reverts state if error thrown', async() => {
const originalEval = () => { throw new Error(); };
const originalEval = (): any => { throw new Error(); };
const revertSpy = sinon.spy();
const saveSpy = sinon.spy();
shellEvaluator.revertState = revertSpy;
Expand All @@ -79,7 +79,7 @@ describe('ShellEvaluator', () => {
expect(saveSpy.calledOnce).to.be.true;
});
it('does not revert state with no error', async() => {
const originalEval = () => { return 1; };
const originalEval = (): any => { return 1; };
const revertSpy = sinon.spy();
const saveSpy = sinon.spy();
shellEvaluator.revertState = revertSpy;
Expand Down

0 comments on commit 7e4fbd3

Please sign in to comment.