From dc352e8899fb716506e40d3191c9fa18771a7d2b Mon Sep 17 00:00:00 2001 From: Susheela Hinchigeri <286227073+sush-dev-git@users.noreply.github.com> Date: Thu, 25 Jun 2026 17:06:37 -0700 Subject: [PATCH] fix: remove duplicate bearer() method --- lib/test.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/test.js b/lib/test.js index f8300881..ee1af781 100644 --- a/lib/test.js +++ b/lib/test.js @@ -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. *