Skip to content

Commit

Permalink
Update tests ESM references (#44559)
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <[email protected]>
  • Loading branch information
emmanuel-ferdman authored Dec 3, 2024
1 parent 09ca50a commit 9fec8f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/System/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ The Database Commands create items in the database like articles or users. They
cy.db_createArticle({ title: 'automated test article' }).then((id) => { ... })`
```

The following commands are available and are served by the file [tests/System/support/commands/db.js](/tests/System/support/commands/db.js):
The following commands are available and are served by the file [tests/System/support/commands/db.mjs](/tests/System/support/commands/db.mjs):

- **db_createArticle** – Creates an article and returns the id
- **db_createBanner** – Creates a banner and returns the id
Expand Down Expand Up @@ -230,7 +230,7 @@ cy.api_get('/content/articles').then((response) => { ... })`
```
The response is an object from the [Cypress request command](https://docs.cypress.io/api/commands/request).
The following commands are available and are served by the file
[tests/System/support/commands/api.js](/tests/System/support/commands/api.js):
[tests/System/support/commands/api.mjs](/tests/System/support/commands/api.mjs):

- **api_get**HTTP GET request for given path
- **api_post**HTTP POST request for given path and body
Expand Down

0 comments on commit 9fec8f7

Please sign in to comment.