Skip to content

Commit

Permalink
Pass Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Mar 16, 2024
1 parent e6b994d commit d0e76a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe(OAuth2Strategy, () => {
test("should build scope into authorization redirect when provided", async () => {
let strategy = new OAuth2Strategy<User, TestProfile>(
{ ...options, scope: "scope_1 SCOPE2 scOpE3" },
verify
verify,
);

let request = new Request("https://example.com/login");
Expand All @@ -137,7 +137,7 @@ describe(OAuth2Strategy, () => {
expect(redirect.searchParams.get("scope")).toBe("scope_1 SCOPE2 scOpE3");
}
});

test("should not override scope provided by derived class", async () => {
const DERIVED_SCOPES = "derivedScope1 DERIVED_SCOPE_2";
class DerivedStartegy extends OAuth2Strategy<User, TestProfile> {
Expand All @@ -148,7 +148,7 @@ describe(OAuth2Strategy, () => {

let strategy = new DerivedStartegy(
{ ...options, scope: "scope_1 SCOPE2 scOpE3" },
verify
verify,
);

let request = new Request("https://example.com/login");
Expand Down

0 comments on commit d0e76a3

Please sign in to comment.