bknd is dead long live userbase
Run Tests / test (pull_request) Successful in 4m57s

This commit is contained in:
2026-09-27 19:34:06 +05:30
parent 05e0086fcd
commit 0bfcb5ad71
529 changed files with 2385 additions and 2924 deletions
@@ -57,11 +57,11 @@ const configs = {
},
users: {
normal: {
email: "normal@bknd.io",
email: "normal@userbase.io",
password: "12345678",
},
admin: {
email: "admin@bknd.io",
email: "admin@userbase.io",
password: "12345678",
role: "admin",
},
@@ -271,7 +271,7 @@ describe("integration auth", () => {
expect(
await app
.createUser({
email: "test@bknd.io",
email: "test@userbase.io",
password: "12345678",
})
.then((r) => r.role),
@@ -280,7 +280,7 @@ describe("integration auth", () => {
// throws error if role doesn't exist
expect(
app.createUser({
email: "test@bknd.io",
email: "test@userbase.io",
password: "12345678",
role: "doesnt exist",
}),
@@ -290,7 +290,7 @@ describe("integration auth", () => {
expect(
await app
.createUser({
email: "test2@bknd.io",
email: "test2@userbase.io",
password: "12345678",
role: "admin",
})
@@ -301,7 +301,7 @@ describe("integration auth", () => {
expect(
await $fns
.register({
email: "test3@bknd.io",
email: "test3@userbase.io",
password: "12345678",
role: "admin",
})
@@ -312,7 +312,7 @@ describe("integration auth", () => {
expect(
await $fns
.register({
email: "test3@bknd.io",
email: "test3@userbase.io",
password: "12345678",
})
.then((r) => r.data.user.role),