mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 05:55:49 +00:00
feat(testing): Added eslint and git pre commit hook
This commit is contained in:
@@ -19,7 +19,7 @@ const config: PlaywrightTestConfig = {
|
||||
* Maximum time expect() should wait for the condition to be met.
|
||||
* For example in `await expect(locator).toHaveText();`
|
||||
*/
|
||||
timeout: 13000
|
||||
timeout: 13000,
|
||||
},
|
||||
/* Run tests in files in parallel */
|
||||
fullyParallel: true,
|
||||
@@ -39,7 +39,7 @@ const config: PlaywrightTestConfig = {
|
||||
baseURL: 'http://localhost:3000',
|
||||
|
||||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
|
||||
trace: process.env.CI ? 'on-first-retry': process.env.TRACE ? 'on' : 'off',
|
||||
trace: process.env.CI ? 'on-first-retry' : process.env.TRACE ? 'on' : 'off',
|
||||
screenshot: 'only-on-failure',
|
||||
},
|
||||
/* Configure projects for major browsers */
|
||||
|
||||
Reference in New Issue
Block a user