12 lines
423 B
TypeScript
12 lines
423 B
TypeScript
|
|
import { describe, it, expect } from 'vitest';
|
||
|
|
import { freshPlayer } from './_setup/harness.js';
|
||
|
|
|
||
|
|
describe('e2e-prod: player', () => {
|
||
|
|
it('device login yields a profile with a player id and wallets array', async () => {
|
||
|
|
const client = await freshPlayer();
|
||
|
|
const profile = await client.player.reload();
|
||
|
|
expect(profile.player?.id).toBeTruthy();
|
||
|
|
expect(Array.isArray(profile.wallets)).toBe(true);
|
||
|
|
});
|
||
|
|
});
|