chilly-family-80813
12/07/2022, 9:57 PMbig-spring-11836
12/08/2022, 12:33 AMgray-kilobyte-89541
12/08/2022, 1:13 AMchilly-family-80813
12/08/2022, 1:13 AMbitter-fountain-36713
12/08/2022, 1:49 AMgray-kilobyte-89541
12/08/2022, 1:53 AMbitter-fountain-36713
12/08/2022, 2:16 AMgray-kilobyte-89541
12/08/2022, 11:33 AMmodern-fish-67741
12/12/2022, 7:13 PMgray-kilobyte-89541
12/12/2022, 7:36 PMthousands-house-85089
12/12/2022, 8:45 PMthousands-house-85089
12/12/2022, 8:46 PMlemon-holiday-89994
12/12/2022, 8:46 PMcommon function
where I can import the specific functions as neededthousands-house-85089
12/12/2022, 8:48 PMthousands-house-85089
12/12/2022, 9:19 PMmodern-fish-67741
12/12/2022, 9:47 PMlemon-holiday-89994
12/12/2022, 10:11 PMmagnificent-finland-58048
12/13/2022, 12:38 PMmagnificent-memory-85975
12/13/2022, 11:59 PMgray-kilobyte-89541
12/14/2022, 12:03 AMthankful-wire-37848
12/15/2022, 8:20 AMnice-lifeguard-81070
12/16/2022, 11:39 AMfresh-doctor-14925
12/16/2022, 1:42 PMnutritious-analyst-96582
12/16/2022, 1:42 PMmagnificent-finland-58048
12/16/2022, 2:56 PMastonishing-lunch-98474
12/20/2022, 7:12 AMbest-lunch-5240
12/20/2022, 10:41 AMmagnificent-finland-58048
12/20/2022, 1:33 PMmodule.exports = (on, config) => {
on('task', {
getVerificationCode(args: { userId: string; password: string; }) {
const result = await axios.request({
method: 'GET',
url: '/api/getVerification'
params: {
userId: args.userId
},
body: {
password: args.password
}
});
expect(result.status).to.eq(200); // Can make assertions too!
return result.data;
},
});
}
gray-kilobyte-89541
12/20/2022, 2:45 PMcy.request
and you had to for example access the DB directlybest-lunch-5240
12/20/2022, 2:53 PM