Skip to content

Commit ba498c3

Browse files
committed
up
1 parent e8468c6 commit ba498c3

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

lib/project_config/project_config.spec.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,6 @@ describe('createProjectConfig', () => {
153153

154154
expect(configObj.experimentIdMap).toEqual(expectedExperimentIdMap);
155155
});
156-
157-
it('should not mutate the datafile', () => {
158-
const datafile = testDatafile.getTypedAudiencesConfig();
159-
const datafileClone = cloneDeep(datafile);
160-
projectConfig.createProjectConfig(JSON.stringify(datafile));
161-
162-
expect(datafile).toEqual(datafileClone);
163-
});
164156
});
165157

166158
describe('createProjectConfig - feature management', () => {

lib/project_config/project_config.tests.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,6 @@ describe('lib/core/project_config', function() {
183183
};
184184
});
185185

186-
it('should not mutate the datafile', function() {
187-
var datafile = testDatafile.getTypedAudiencesConfig();
188-
var datafileClone = cloneDeep(datafile);
189-
projectConfig.createProjectConfig(JSON.stringify(datafile));
190-
assert.deepEqual(datafileClone, datafile);
191-
});
192-
193186
describe('feature management', function() {
194187
var configObj;
195188
beforeEach(function() {

0 commit comments

Comments
 (0)