Skip to content

Commit de70b5b

Browse files
test(editor): bring test coverage up MONGOSH-1014 (#1132)
* test(editor): bring the unit test coverage for the editor package up MONGOSH-1014 * test: remove empty describe * test: change string * test: try to fix nyc_output
1 parent 1c75bca commit de70b5b

File tree

2 files changed

+234
-148
lines changed

2 files changed

+234
-148
lines changed

packages/cli-repl/test/e2e-editor.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,10 @@ describe('external editor e2e', () => {
197197
context('when mongodb extension is installed', () => {
198198
beforeEach(async() => {
199199
// make a fake dir for vscode mongodb extension
200-
await fs.mkdir(path.join(homedir, '.vscode', 'extensions', 'mongodb.mongodb-vscode-0.0.0'), { recursive: true });
200+
await fs.mkdir(
201+
path.join(homedir, '.vscode', 'extensions', 'mongodb.mongodb-vscode-0.0.0'),
202+
{ recursive: true }
203+
);
201204
});
202205

203206
it('creates a file with .mongodb extension', async() => {

0 commit comments

Comments
 (0)