Skip to content

Commit c297f23

Browse files
committed
chore: for tests, disable legacy state file migration
1 parent 12bfabe commit c297f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/preferences/StateManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ define(function (require, exports, module) {
247247
* @private
248248
*/
249249
function _migrateLegacyStateFile() {
250-
if(Phoenix.firstBoot){
250+
if(Phoenix.firstBoot || Phoenix.isTestWindow){
251251
// nothing to migrate, fresh install
252252
setVal(LEGACY_STATE_MANAGER_MIGRATED, true);
253253
return new $.Deferred().resolve().promise();

0 commit comments

Comments
 (0)