feat: prepare the fork for merging

This commit is contained in:
JellyBrick
2023-10-07 11:56:04 +09:00
parent 8acfabf9f8
commit b2c27b9fdb
6 changed files with 20 additions and 35 deletions

View File

@ -1,11 +1,11 @@
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { _electron as electron } from 'playwright';
import { expect, test } from '@playwright/test';
const path = require('node:path');
const { _electron: electron } = require('playwright');
const { test, expect } = require('@playwright/test');
process.env.NODE_ENV = 'test';
const appPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
const appPath = path.resolve(__dirname, '..');
test('YouTube Music App - With default settings, app is launched and visible', async () => {
const app = await electron.launch({
@ -16,7 +16,6 @@ test('YouTube Music App - With default settings, app is launched and visible', a
'--disable-gpu',
'--whitelisted-ips=',
'--disable-dev-shm-usage',
'dist/index.js',
],
});