Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Jan 29, 2025
1 parent 509aa4c commit c2c3804
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/sdk/akamai-edgekv/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ describe('init', () => {

describe('init with Edge KV', () => {
beforeAll(async () => {
ldClient = initWithEdgeKV({ namespace: 'akamai-test', group: 'Akamai', sdkKey, options: { logger } });
ldClient = initWithEdgeKV({
namespace: 'akamai-test',
group: 'Akamai',
sdkKey,
options: { logger },
});
await ldClient.waitForInitialization();
});

Expand All @@ -41,9 +46,9 @@ describe('init', () => {

it('should not log a warning about initialization', async () => {
const spy = jest.spyOn(logger, 'warn');
const value = await ldClient.variation(flagKey1, context, false);
await ldClient.variation(flagKey1, context, false);
expect(spy).not.toHaveBeenCalled();
})
});

describe('flags', () => {
it('variation default', async () => {
Expand Down

0 comments on commit c2c3804

Please sign in to comment.