Files
rudder-js-sdk/test/e2e-prod/player.e2e.test.ts
T

12 lines
423 B
TypeScript
Raw Normal View History

2026-08-12 14:02:25 +03:00
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);
});
});