Skip to content

Commit

Permalink
chore(test): add todos for nw.App
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Aug 25, 2024
1 parent 3b8eb0e commit dfbcd3b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/specs/nw/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,25 @@ describe('nw.App', { timeout: Infinity }, async function () {
expect(manifest.main).toBe('file://' + path.resolve('tests', 'fixtures', 'nw', 'app', 'index.html'));
});

it.todo('App.clearCache()', async () => {});
it.todo('App.clearAppCache(manifest_url)', async () => {});
it.todo('App.closeAllWindows()', async () => {});
it.todo('App.crashBrowser()', async () => {});
it.todo('App.crashRenderer()', async () => {});
it.todo('App.enableComponent(component, callback)', async () => {});
it.todo('App.getProxyForURL(url)', async () => {});
it.todo('setProxyConfig(config, pac_url)', async () => {});
it.todo('App.quit()', async () => {});
it.todo('App.setCrashDumpDir(dir)', async () => {});
it.todo('App.addOriginAccessWhitelistEntry(sourceOrigin, destinationProtocol, destinationHost, allowDestinationSubdomains)', async () => {});
it.todo('removeOriginAccessWhitelistEntry(sourceOrigin, destinationProtocol, destinationHost, allowDestinationSubdomains)', async () => {});
it.todo('App.registerGlobalHotKey(shortcut)', async () => {});
it.todo('App.unregisterGlobalHotKey(shortcut)', async () => {});
it.todo('App.updateComponent(component, callback)', async () => {});
it.todo('Event: open(args)', async () => {});
it.todo('Event: reopen', async () => {});


afterAll(async function () {
await driver.quit();
});
Expand Down

0 comments on commit dfbcd3b

Please sign in to comment.