feat!: @rudder/sdk 0.1.0: createClient, idempotent modules.call retries, storage save(type, data), drop resources and projectStorage
This commit is contained in:
@@ -2,10 +2,11 @@ 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 () => {
|
||||
it('device login yields a profile with a player id wallets array and counters', async () => {
|
||||
const client = await freshPlayer();
|
||||
const profile = await client.player.reload();
|
||||
expect(profile.player?.id).toBeTruthy();
|
||||
expect(Array.isArray(profile.wallets)).toBe(true);
|
||||
expect(profile).toHaveProperty('counters');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user