Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
update readme for being consistent in startServer / stopServer calls.
  • Loading branch information
LaQuay authored Jun 2, 2023
1 parent aa56307 commit d8c6ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,14 +395,14 @@ Starts a Node-RED server for testing nodes that depend on http or web sockets en
To start a Node-RED server before all test cases:

```javascript
before(function(done) {
beforeEach(function(done) {
helper.startServer(done);
});
```

### stopServer(done)

Stop server. Generally called after unload() complete. For example, to unload a flow then stop a server after each test:
Stop server. Generally called after unload() complete. For example, to unload a flow then stop a server after each test:

```javascript
afterEach(function(done) {
Expand Down

0 comments on commit d8c6ec6

Please sign in to comment.