Skip to content

Commit

Permalink
Remove authType from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewadebwell committed Aug 19, 2024
1 parent 4c3cdab commit 2cf7dcc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bwell-typescript-react/e2e/api/user-manager.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it, expect, beforeAll } from 'vitest';
import { AuthType, BWellSDK, UpdateProfileRequest } from '@icanbwell/bwell-sdk-ts';
import { BWellSDK, UpdateProfileRequest } from '@icanbwell/bwell-sdk-ts';

const DEFAULT_KEY = process.env.VITE_DEFAULT_KEY ?? "";
const DEFAULT_OAUTH_CREDS = process.env.VITE_DEFAULT_OAUTH_CREDS ?? "";
Expand Down Expand Up @@ -51,7 +51,6 @@ describe("Username/Password Authentication", () => {
it("Should work with valid username/password", async () => {
sdk = new BWellSDK({
clientKey: USERNAME_PASSWORD_KEY,
authType: AuthType.UsernamePassword,
});

await sdk.initialize();
Expand All @@ -68,7 +67,6 @@ describe("Username/Password Authentication", () => {
it("Should fail with invalid username/password", async () => {
sdk = new BWellSDK({
clientKey: USERNAME_PASSWORD_KEY,
authType: AuthType.UsernamePassword,
});

await sdk.initialize();
Expand Down

0 comments on commit 2cf7dcc

Please sign in to comment.