Skip to content

Commit

Permalink
fix mp storage mock for test
Browse files Browse the repository at this point in the history
  • Loading branch information
qkang07 committed Dec 5, 2024
1 parent e3f6c60 commit f0ac02a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/page-spy-mp-base/tests/mock/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ export function initStorageMock() {
Object.defineProperty(getMPSDK(), key, {
value,
writable: true,
configurable: true,
enumerable: true,
});
});
}

0 comments on commit f0ac02a

Please sign in to comment.