Created
October 23, 2021 17:07
-
-
Save agusrichard/197d5e882b5ec15b46088e3a44f2caa5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function teardown(data) { | |
const params = { | |
headers: { | |
Authorization: `Bearer ${data.token}` | |
} | |
} | |
// To clear/truncate the injected table we need token | |
http.get(`${BASE_URL}/users/clear`, params) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment