Skip to content

Commit 8487c9b

Browse files
authored
Merge pull request #125 from dangen-effy/patch-1
Update readme.md
2 parents 831569f + c8367f0 commit 8487c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ it("When visiting TestJavaScript.com home page, a menu is displayed", () => {
542542
![](https://img.shields.io/badge/🔧%20Example%20using%20Mocha-blue.svg "Examples with Mocha")
543543

544544
```javascript
545-
before(() => {
545+
before(async () => {
546546
//adding sites and admins data to our DB. Where is the data? outside. At some external json or migration framework
547547
await DB.AddSeedDataFromJson('seed.json');
548548
});
@@ -920,7 +920,7 @@ Credit: <a href="https://github.com/TheHollidayInn" data-href="https://github.co
920920
![](https://img.shields.io/badge/🔧%20Example%20using%20Mocha-blue.svg "Examples with Mocha")
921921

922922
```javascript
923-
before(() => {
923+
before(async () => {
924924
//adding sites and admins data to our DB. Where is the data? outside. At some external json or migration framework
925925
await DB.AddSeedDataFromJson('seed.json');
926926
});

0 commit comments

Comments
 (0)