blob: 56428621779084907adeb8b0529c71cee7cae7b4 (
plain)
1
2
3
4
5
6
7
8
9
|
import { When } from '@cucumber/cucumber'
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
})
|