|
@@ -6596,6 +6596,7 @@ describe('BrowserWindow module', () => {
|
|
|
afterEach(closeAllWindows);
|
|
|
|
|
|
ifit(hasCapturableScreen())('should allow the window to be dragged when enabled', async () => {
|
|
|
+ // FIXME: nut-js has been removed from npm; we need to find a replacement
|
|
|
// WOA fails to load libnut so we're using require to defer loading only
|
|
|
// on supported platforms.
|
|
|
// "@nut-tree\libnut-win32\build\Release\libnut.node is not a valid Win32 application."
|
|
@@ -6640,6 +6641,7 @@ describe('BrowserWindow module', () => {
|
|
|
});
|
|
|
|
|
|
ifit(hasCapturableScreen())('should allow the window to be dragged when no WCO and --webkit-app-region: drag enabled', async () => {
|
|
|
+ // FIXME: nut-js has been removed from npm; we need to find a replacement
|
|
|
// @ts-ignore: nut-js is an optional dependency so it may not be installed
|
|
|
const { mouse, straightTo, centerOf, Region, Button } = require('@nut-tree/nut-js') as typeof import('@nut-tree/nut-js');
|
|
|
|