Update chromium-spec.ts

This commit is contained in:
Jeremy Rose
2022-04-05 09:54:15 -07:00
committed by GitHub
parent 027da79a42
commit 790142aada

View File

@@ -1450,7 +1450,8 @@ describe('chromium features', () => {
await ensurePdfLoaded(w.webContents);
});
it('renders a PDF', async () => {
// TODO(nornagon): enable this test on win/linux
ifit(process.platform === 'darwin')('renders a PDF', async () => {
const w = new BrowserWindow({ show: false, width: 1000, height: 1000 });
w.loadURL(redPdfSource);