Skip to content

Commit 116688b

Browse files
committed
test: abbreviate integration to int in test files and configs
1 parent f0a2a01 commit 116688b

File tree

109 files changed

+89
-90
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+89
-90
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
- name: Install dependencies
9797
run: npm ci
9898
- name: Integration test affected projects
99-
run: npx nx affected -t integration-test --parallel=3 --coverage.enabled
99+
run: npx nx affected -t int-test --parallel=3 --coverage.enabled
100100

101101
e2e:
102102
strategy:

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- plugin-coverage
2222
- plugin-js-packages
2323
- plugin-lighthouse
24-
scope: [unit, integration]
24+
scope: [unit, int]
2525
name: Update code coverage
2626
runs-on: ubuntu-latest
2727
steps:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion

code-pushup.preset.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,10 @@ export const coverageCoreConfigNx = async (
178178
if (projectName) {
179179
throw new Error('coverageCoreConfigNx for single projects not implemented');
180180
}
181-
const targetNames = ['unit-test', 'integration-test'];
181+
const targetNames = ['unit-test', 'int-test'];
182182
const targetArgs = [
183183
'-t',
184-
'unit-test',
185-
'integration-test',
184+
...targetNames,
186185
'--coverage.enabled',
187186
'--skipNxCache',
188187
];

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default tseslint.config(
8888
'vitest/consistent-test-filename': [
8989
'warn',
9090
{
91-
pattern: String.raw`.*\.(bench|type|unit|integration|e2e)\.test\.[tj]sx?$`,
91+
pattern: String.raw`.*\.(bench|type|unit|int|e2e)\.test\.[tj]sx?$`,
9292
},
9393
],
9494
},

examples/plugins/src/file-size/src/file-size.plugin.integration.test.ts renamed to examples/plugins/src/file-size/src/file-size.plugin.int.test.ts

File renamed without changes.

examples/plugins/src/lighthouse/src/lighthouse.plugin.integration.test.ts renamed to examples/plugins/src/lighthouse/src/lighthouse.plugin.int.test.ts

File renamed without changes.

examples/plugins/src/package-json/src/package-json.plugin.integration.test.ts renamed to examples/plugins/src/package-json/src/package-json.plugin.int.test.ts

File renamed without changes.
File renamed without changes.

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"!{projectRoot}/src/test-setup.[jt]s",
4747
"!{projectRoot}/test-setup.[jt]s",
4848
"!{projectRoot}/**/?(*.)mock.[jt]s?(x)",
49-
"!{projectRoot}/vite.config.@(unit|integration|e2e).[jt]s",
49+
"!{projectRoot}/vite.config.@(unit|int|e2e).[jt]s",
5050
"!{projectRoot}/@(test|mocks)/**/*",
5151
"!{projectRoot}/perf/**/*",
5252
"!{projectRoot}/tools/**/*",

0 commit comments

Comments
 (0)