mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-28 05:10:17 +08:00
12 lines
253 B
JavaScript
12 lines
253 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.setWindow = setWindow;
|
|
function setWindow(search) {
|
|
global.window = {
|
|
location: { search: search },
|
|
addEventListener: function addEventListener() {}
|
|
};
|
|
} |