1
0

Switch to ESM

This commit is contained in:
2024-12-20 15:03:16 +01:00
parent 53e4c5dba6
commit 738f4f2bdb
22 changed files with 10709 additions and 5148 deletions

View File

@@ -4,6 +4,9 @@ import axios from 'axios'
When('I request the same resource twice', async function () {
const url = 'http://localhost:8080/'
this.first = await axios.request(url).data
this.second = await axios.request(url).data
const firstResponse = await axios.request(url)
this.first = firstResponse.data
const secondResponse = await axios.request(url)
this.second = secondResponse.data
})