@mediatool/frontend-tools 1.7.1 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mtft.cjs CHANGED
@@ -90,9 +90,9 @@ const requireFilePath = require$1.resolve('@mediatool/frontend-tools/lib/test/re
90
90
 
91
91
  const extensions = '{js,jsx,ts,tsx}';
92
92
  const types = {
93
- all: `./{,!(node_modules)/**}/**/*-test.${extensions}`,
94
- unit: `./{,!(node_modules)/**}/test/unit/**/*-test.${extensions}`,
95
- it: `./{,!(node_modules)/**}/test/it/**/*-test.${extensions}`,
93
+ all: `./{,!(node_modules)/**}/**/*{-,.}test.${extensions}`,
94
+ unit: `./{,!(node_modules)/**}/test/unit/**/*{-,.}test.${extensions}`,
95
+ it: `./{,!(node_modules)/**}/test/it/**/*{-,.}test.${extensions}`,
96
96
  };
97
97
 
98
98
  async function test (typeOrSpec) {
package/lib/test/index.js CHANGED
@@ -7,9 +7,9 @@ const requireFilePath = require.resolve('@mediatool/frontend-tools/lib/test/requ
7
7
 
8
8
  const extensions = '{js,jsx,ts,tsx}'
9
9
  const types = {
10
- all: `./{,!(node_modules)/**}/**/*-test.${extensions}`,
11
- unit: `./{,!(node_modules)/**}/test/unit/**/*-test.${extensions}`,
12
- it: `./{,!(node_modules)/**}/test/it/**/*-test.${extensions}`,
10
+ all: `./{,!(node_modules)/**}/**/*{-,.}test.${extensions}`,
11
+ unit: `./{,!(node_modules)/**}/test/unit/**/*{-,.}test.${extensions}`,
12
+ it: `./{,!(node_modules)/**}/test/it/**/*{-,.}test.${extensions}`,
13
13
  }
14
14
 
15
15
  export default async function test (typeOrSpec) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediatool/frontend-tools",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Common configs and tooling for bundling, testing, linting frontend modules",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",