Rev stories feature flag

This commit is contained in:
Josh Perez 2022-11-08 15:55:51 -05:00 committed by GitHub
parent d0fb25f758
commit 9229fca569
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View file

@ -13,12 +13,12 @@ describe('RemoteConfig', () => {
const uuid = '15b9729c-51ea-4ddb-b516-652befe78062';
describe('#innerIsBucketValueEnabled', () => {
// Note: bucketValue is 497941 for 'desktop.stories' key
// Note: bucketValue is 497941 for 'desktop.stories2' key
it('returns true for 100% wildcard', () => {
assert.strictEqual(
innerIsBucketValueEnabled(
'desktop.stories',
'desktop.stories2',
'*:1000000',
'+12125550000',
uuid
@ -30,7 +30,7 @@ describe('RemoteConfig', () => {
it('returns true for 50% on country code 1', () => {
assert.strictEqual(
innerIsBucketValueEnabled(
'desktop.stories',
'desktop.stories2',
'1:500000',
'+12125550000',
uuid
@ -42,7 +42,7 @@ describe('RemoteConfig', () => {
it('returns false for 40% on country code 1', () => {
assert.strictEqual(
innerIsBucketValueEnabled(
'desktop.stories',
'desktop.stories2',
'1:400000',
'+12125550000',
uuid