mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Add kitchen install test (fails)
This commit is contained in:
parent
80029899ed
commit
e4a5f77130
|
@ -66,9 +66,10 @@ Mocha.describe('window.apis.pacKitchen', function () {
|
||||||
|
|
||||||
Mocha.it('is installed (by modifying `chrome.proxy.settings.set`)', function () {
|
Mocha.it('is installed (by modifying `chrome.proxy.settings.set`)', function () {
|
||||||
|
|
||||||
|
const originalSet = chrome.proxy.settings.set;
|
||||||
CachelessRequire('../35-pac-kitchen-api.js');
|
CachelessRequire('../35-pac-kitchen-api.js');
|
||||||
Chai.expect(originalSet.notCalled, 'original set not to be called during install').to.be.true;
|
Chai.expect(originalSet.notCalled, 'original set not to be called during install').to.be.true;
|
||||||
//Chai.expect(originalSet, 'settings.set to be modified').not.to.be.equal(window.chrome.proxy.settings.set);
|
Chai.expect(originalSet, 'settings.set to be modified during install').not.to.be.equal(chrome.proxy.settings.set);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user