Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,6 @@ class Test extends Request {
return this;
}

/*
* Adds a set Authorization Bearer
*
* @param {Bearer} Bearer Token
* Shortcut for .set('Authorization', `Bearer ${token}`)
*/

bearer(token) {
this.set('Authorization', `Bearer ${token}`);
return this;
}

/**
* Perform assertions on a response body and return an Error upon failure.
*
Expand Down