Set protocol in test env

parent 04b71945
...@@ -94,7 +94,10 @@ describe('Pipelines', () => { ...@@ -94,7 +94,10 @@ describe('Pipelines', () => {
beforeAll(() => { beforeAll(() => {
origWindowLocation = window.location; origWindowLocation = window.location;
delete window.location; delete window.location;
window.location = { search: '' }; window.location = {
search: '',
protocol: 'https:',
};
}); });
afterAll(() => { afterAll(() => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment