From 8b3143de502a239aea35c0e9a000b2e97a536b5e Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 2 Sep 2021 10:24:06 -0600 Subject: [PATCH] Add some documentation --- web-test-runner.config.mjs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/web-test-runner.config.mjs b/web-test-runner.config.mjs index 3a97234949..75695382d9 100644 --- a/web-test-runner.config.mjs +++ b/web-test-runner.config.mjs @@ -1,3 +1,11 @@ +/** + * This is the configuration file for automatic TypeScript testing + * + * It uses "web-test-runner" to run the tests, which are written using + * Mocha (https://mochajs.org/) & Chai Assertion Library (https://www.chaijs.com/api/assert/) + * Playwright (https://playwright.dev/docs/intro) runs the tests in actual browsers. + */ + import fs from 'fs'; import {playwrightLauncher} from '@web/test-runner-playwright'; import {esbuildPlugin} from '@web/dev-server-esbuild'; @@ -54,7 +62,8 @@ export default { files: `${app}/js/**/*.test.ts` } } - )) + ) + ) , plugins: [