Skip to content

Commit cc60bd7

Browse files
fix tests
1 parent 31a4700 commit cc60bd7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"jest": {
2323
"testPathIgnorePatterns": [
2424
"config",
25-
"environmentManager/__tests__/constants"
25+
"environmentManager/__tests__/constants",
26+
"sdk/__tests__/utils"
2627
],
2728
"setupFiles": [
2829
"<rootDir>/.jest/setEnvVars.js"

sdk/__tests__/integrationOnline.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@ describe('Evaluator Integration (Online Mode)', () => {
4949
client.on(client.Event.SDK_READY_TIMED_OUT, () => reject(new Error('Timeout waiting for SDK_READY')));
5050
});
5151

52-
// 2. Verify Evaluation (Storage working)
5352
const treatment = client.getTreatment('user1', 'always_on');
5453
expect(treatment).toBe('on');
5554

56-
// 3. Verify Cleanup
5755
await client.destroy();
5856
});
5957
});

0 commit comments

Comments
 (0)