File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
usage-examples/javascript/mongosh Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -73,22 +73,7 @@ npm install
73
73
74
74
### Run the tests
75
75
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.
92
77
93
78
#### Run All Tests from the command line
94
79
@@ -101,7 +86,7 @@ npm test
101
86
This invokes the following command from the ` package.json ` ` test ` key:
102
87
103
88
```
104
- jest --run-in-band --detectOpenHandles
89
+ jest --runInBand --detectOpenHandles
105
90
```
106
91
107
92
In the above command:
You can’t perform that action at this time.
0 commit comments