chore: rename test to .test.ts (#15082)

This commit is contained in:
Nikolay Vitkov
2026-06-02 18:21:22 +02:00
committed by GitHub
parent 61b1b31ab1
commit 479daf9627
109 changed files with 298 additions and 298 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ export default defineConfig([
},
{
name: 'Mocha Tests',
files: ['test/**/*.spec.ts'],
files: ['test/**/*.test.ts'],
rules: {
'@typescript-eslint/no-unused-vars': [
+1 -1
View File
@@ -7,7 +7,7 @@ process.env.NODE_DEBUG = 'puppeteer:*';
module.exports = {
logLevel: 'debug',
spec: 'test/build/**/*.spec.js',
spec: 'test/build/**/*.test.js',
require: ['source-map-support/register'],
exit: !!process.env.CI,
reporter: 'spec',
+1 -1
View File
@@ -5,7 +5,7 @@
*/
module.exports = {
logLevel: 'debug',
spec: 'test/build/**/*.spec.js',
spec: 'test/build/**/*.test.js',
exit: !!process.env.CI,
reporter: process.env.CI ? 'spec' : 'dot',
};
+290 -290
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -8,7 +8,7 @@
* @type {import('mocha').MochaOptions}
*/
module.exports = {
spec: ['build/**/*.spec.js'],
spec: ['build/**/*.test.js'],
require: ['source-map-support/register'],
exit: !!process.env.CI,
timeout: 240_000,
@@ -992,7 +992,7 @@ describe('Page', function () {
}
});
expect(message).toBe('WOOF WOOF');
expect(stack).toContain('page.spec.ts');
expect(stack).toContain('page.test.ts');
});
it('should support throwing "null"', async () => {
const {page} = await getTestState();

Some files were not shown because too many files have changed in this diff Show More