test(e2e): playwright - two browsers play online, server shop, offline campaign (P4-2)
This commit is contained in:
@@ -9,7 +9,7 @@ const gameGlobals = { RC: 'writable', Kit: 'writable', THREE: 'readonly', KIT_AS
|
||||
module.exports = [
|
||||
{
|
||||
ignores: ['node_modules/**', 'server/node_modules/**', 'release/**', 'game/vendor/**', 'game/kit/**',
|
||||
'launcher/**', 'sprite-generator/**', 'tools/shots/**', 'admin/**'],
|
||||
'launcher/**', 'sprite-generator/**', 'tools/shots/**', 'admin/**', 'test-results/**', 'playwright-report/**'],
|
||||
},
|
||||
js.configs.recommended,
|
||||
{
|
||||
@@ -23,7 +23,7 @@ module.exports = [
|
||||
languageOptions: { sourceType: 'script', globals: { ...globals.browser, ...gameGlobals } },
|
||||
},
|
||||
{
|
||||
files: ['server/**/*.js', 'tests/**/*.js', 'tools/**/*.js', 'eslint.config.js'],
|
||||
files: ['server/**/*.js', 'tests/**/*.js', 'tools/**/*.js', 'eslint.config.js', 'playwright.config.js'],
|
||||
languageOptions: { sourceType: 'commonjs', globals: { ...globals.node } },
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user