Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrf1 committed Oct 29, 2024
1 parent 2cfa36e commit 52aef37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/lib/ab.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ describe('selectVariant', () => {
methodologies: [{ name: 'ABTest' }, { name: 'EpsilonGreedyBandit', epsilon: 0.5 }],
};
const result = selectVariant(testWithMethodology, 1, []);
expect(result?.test.name).toBe('test_EpsilonGreedyBandit-0.5');
expect(result?.test.name).toBe('example-1_EpsilonGreedyBandit-0.5');
});
});

0 comments on commit 52aef37

Please sign in to comment.