Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
578 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | const defaultExtension = require('./default-extension.js');
|
---|
4 | const testFileExtensions = defaultExtension
|
---|
5 | .map(extension => extension.slice(1))
|
---|
6 | .join(',');
|
---|
7 |
|
---|
8 | module.exports = [
|
---|
9 | 'coverage/**',
|
---|
10 | 'packages/*/test{,s}/**',
|
---|
11 | '**/*.d.ts',
|
---|
12 | 'test{,s}/**',
|
---|
13 | `test{,-*}.{${testFileExtensions}}`,
|
---|
14 | `**/*{.,-}test.{${testFileExtensions}}`,
|
---|
15 | '**/__tests__/**',
|
---|
16 |
|
---|
17 | /* Exclude common development tool configuration files */
|
---|
18 | '**/{ava,babel,nyc}.config.{js,cjs,mjs}',
|
---|
19 | '**/jest.config.{js,cjs,mjs,ts}',
|
---|
20 | '**/{karma,rollup,webpack}.config.js',
|
---|
21 | '**/.{eslint,mocha}rc.{js,cjs}'
|
---|
22 | ];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.