import { test, expect } from "bun:test"; import Bandai from "../src/Bandai"; import { getBandaiCookieRedisKey, redis } from "../src/utils"; test('Test login', async () => { const email = 'allin-603@outlook.com'; const password = '123456789qw'; const account = new Bandai(email, password); await account.login(); const cookie = await redis.get(getBandaiCookieRedisKey(email)); expect(cookie).toBeDefined(); });