We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baab090 commit 4ca23a3Copy full SHA for 4ca23a3
1 file changed
test/account.v1.test.ts
@@ -25,6 +25,10 @@ describe('Account endpoints for v1.1 API', () => {
25
await client.v1.updateAccountProfile({ description: user.description as string });
26
27
await client.v1.updateAccountSettings({ lang: 'en' });
28
+
29
+ // Wait 1sec to make sure the update happened
30
+ await new Promise(resolve => setTimeout(resolve, 1000));
31
32
const updatedSettings = await client.v1.accountSettings();
33
expect(updatedSettings.language).to.eq('en');
34
0 commit comments