diff --git a/packages/sdk/browser/rollup.config.js b/packages/sdk/browser/rollup.config.js index 550533ccf..a2c260896 100644 --- a/packages/sdk/browser/rollup.config.js +++ b/packages/sdk/browser/rollup.config.js @@ -28,9 +28,9 @@ const terserOpts = { regex: /^_/, // Do not mangle '_meta', because this is part of our JSON // data model. - reserved: ['_meta'] + reserved: ['_meta'], }, - } + }, }; export default [ @@ -53,12 +53,6 @@ export default [ }, { ...getSharedConfig('cjs', 'dist/index.cjs.js'), - plugins: [ - typescript(), - common(), - resolve(), - terser(terserOpts), - json(), - ], + plugins: [typescript(), common(), resolve(), terser(terserOpts), json()], }, ]; diff --git a/packages/shared/sdk-server/__tests__/evaluation/Evaluator.prerequisite.test.ts b/packages/shared/sdk-server/__tests__/evaluation/Evaluator.prerequisite.test.ts index 8532f3255..445d757b9 100644 --- a/packages/shared/sdk-server/__tests__/evaluation/Evaluator.prerequisite.test.ts +++ b/packages/shared/sdk-server/__tests__/evaluation/Evaluator.prerequisite.test.ts @@ -105,15 +105,15 @@ describe('given a flag payload with prerequisites', () => { let testPayload: FlagsAndSegments; class TestQueries implements Queries { - constructor(private readonly data: FlagsAndSegments) {} + constructor(private readonly _data: FlagsAndSegments) {} getFlag(key: string, cb: (flag: Flag | undefined) => void): void { - const res = this.data.flags[key]; + const res = this._data.flags[key]; cb(res); } getSegment(key: string, cb: (segment: Segment | undefined) => void): void { - const res = this.data.segments[key]; + const res = this._data.segments[key]; cb(res); }