import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
testlocally: {
type: "app",
app: "testlocally",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://testlocal.ly/api/v0/me`,
headers: {
Authorization: `Bearer ${this.testlocally.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Emit new event when a new test is run or completed in TestLocally. See the documentation
Get details of a specific test in TestLocally. See the documentation
TestLocally uses API keys for authentication. When you connect your TestLocally account, Pipedream securely stores the keys so you can easily authenticate to TestLocally APIs in both code and no-code steps.