mirror of
https://github.com/finos/SymphonyElectron.git
synced 2026-07-29 15:55:55 -05:00
fix: ELECTRON-1243: fix chrome flags tests (#696)
* ELECTRON-1243: add support to control throttling * ELECTRON-1243: fix chrome flags tests * ELECTRON-1243: refactor code and address PR comments
This commit is contained in:
@@ -89,8 +89,9 @@ describe('chrome flags', () => {
|
||||
expect(spy).nthCalledWith(4, 'disable-d3d11', true);
|
||||
expect(spy).nthCalledWith(5, 'disable-gpu', true);
|
||||
expect(spy).nthCalledWith(6, 'disable-gpu-compositing', true);
|
||||
expect(spy).nthCalledWith(7, 'remote-debugging-port', '5858');
|
||||
expect(spy).nthCalledWith(8, 'host-rules', 'MAP * 127.0.0.1');
|
||||
expect(spy).nthCalledWith(7, 'disable-renderer-backgrounding', 'false');
|
||||
expect(spy).nthCalledWith(8, 'remote-debugging-port', '5858');
|
||||
expect(spy).nthCalledWith(9, 'host-rules', 'MAP * 127.0.0.1');
|
||||
});
|
||||
|
||||
it('should return `undefined` when `chromeFlagsFromCmd` is null', () => {
|
||||
|
||||
Reference in New Issue
Block a user