Skip to content

Commit 73394ff

Browse files
dacharyccbullinger
andauthored
Apply suggestions from code review
Co-authored-by: Cory <[email protected]>
1 parent a8e1c96 commit 73394ff

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

usage-examples/javascript/mongosh/README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,7 @@ npm install
7373

7474
### Run the tests
7575

76-
#### Run Tests from the IDE
77-
78-
Normally, you could press the play button next to a test name to run a test
79-
in the IDE. Because this test suite relies on an Atlas connection string and
80-
environment value passed in from the environment, running tests in the IDE
81-
will fail unless you configure the IDE with the appropriate environment
82-
variables.
83-
84-
In JetBrains IDEs, you can do the following:
85-
86-
- Click the play button next to the test suite name
87-
- Select the `Modify Run Configuration` option
88-
- In the `Environment Variables` field, supply the appropriate environment variables
89-
- Note: you do not need to use quotes around the connection string in this field
90-
i.e. it should resemble:
91-
CONNECTION_STRING=mongodb://localhost:63201
76+
You can run tests from the command line or through your IDE.
9277

9378
#### Run All Tests from the command line
9479

@@ -101,7 +86,7 @@ npm test
10186
This invokes the following command from the `package.json` `test` key:
10287

10388
```
104-
jest --run-in-band --detectOpenHandles
89+
jest --runInBand --detectOpenHandles
10590
```
10691

10792
In the above command:

0 commit comments

Comments
 (0)