Skip to content

Commit f6bfcad

Browse files
accept any version in test
1 parent 1978af3 commit f6bfcad

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

integration-tests/fixtures/generate-bundle-stats/nuxt/nuxt-plugin.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ describe("Generating nuxt stats", () => {
7474
),
7575
plugin: {
7676
name: expect.stringMatching("@codecov/nuxt-plugin"),
77+
version: expect.any(String),
7778
},
7879
assets: expect.arrayContaining([
7980
{
@@ -118,6 +119,7 @@ describe("Generating nuxt stats", () => {
118119
),
119120
plugin: {
120121
name: expect.stringMatching("@codecov/nuxt-plugin"),
122+
version: expect.any(String),
121123
},
122124
assets: expect.arrayContaining([
123125
{

integration-tests/fixtures/generate-bundle-stats/remix/remix-plugin.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ describe("Generating remix stats", () => {
7171
),
7272
plugin: {
7373
name: expect.stringMatching("@codecov/remix-vite-plugin"),
74+
version: expect.any(String),
7475
},
7576
assets: expect.arrayContaining([
7677
{
@@ -113,6 +114,7 @@ describe("Generating remix stats", () => {
113114
bundleName: expect.stringContaining(serverBundleName),
114115
plugin: {
115116
name: expect.stringMatching("@codecov/remix-vite-plugin"),
117+
version: expect.any(String),
116118
},
117119
assets: expect.arrayContaining([
118120
{

integration-tests/fixtures/generate-bundle-stats/rollup/rollup-plugin.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ describe("Generating rollup stats", () => {
7272
),
7373
plugin: {
7474
name: expect.stringMatching("@codecov/rollup-plugin"),
75+
version: expect.any(String),
7576
},
7677
});
7778
});
@@ -121,6 +122,7 @@ describe("Generating rollup stats", () => {
121122
bundleName: expect.not.stringContaining(".map"),
122123
plugin: {
123124
name: expect.stringMatching("@codecov/rollup-plugin"),
125+
version: expect.any(String),
124126
},
125127
});
126128
});

integration-tests/fixtures/generate-bundle-stats/sveltekit/sveltekit-plugin.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ describe("Generating sveltekit stats", () => {
6767
bundleName: expect.stringContaining(clientBundleName),
6868
plugin: {
6969
name: expect.stringMatching("@codecov/sveltekit-plugin"),
70+
version: expect.any(String),
7071
},
7172
assets: expect.arrayContaining([
7273
{
@@ -109,6 +110,7 @@ describe("Generating sveltekit stats", () => {
109110
bundleName: expect.stringContaining(serverBundleName),
110111
plugin: {
111112
name: expect.stringMatching("@codecov/sveltekit-plugin"),
113+
version: expect.any(String),
112114
},
113115
assets: expect.arrayContaining([
114116
{

integration-tests/fixtures/generate-bundle-stats/vite/vite-plugin.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ describe("Generating vite stats", () => {
7171
),
7272
plugin: {
7373
name: expect.stringMatching("@codecov/vite-plugin"),
74+
version: expect.any(String),
7475
},
7576
});
7677
});
@@ -120,6 +121,7 @@ describe("Generating vite stats", () => {
120121
bundleName: expect.not.stringContaining(".map"),
121122
plugin: {
122123
name: expect.stringMatching("@codecov/vite-plugin"),
124+
version: expect.any(String),
123125
},
124126
});
125127
});

integration-tests/fixtures/generate-bundle-stats/webpack/webpack-plugin.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ describe("Generating webpack stats", () => {
6464
),
6565
plugin: {
6666
name: expect.stringMatching("@codecov/webpack-plugin"),
67+
version: expect.any(String),
6768
},
6869
});
6970
});
@@ -112,6 +113,7 @@ describe("Generating webpack stats", () => {
112113
bundleName: expect.not.stringContaining(".map"),
113114
plugin: {
114115
name: expect.stringMatching("@codecov/webpack-plugin"),
116+
version: expect.any(String),
115117
},
116118
});
117119
});

0 commit comments

Comments
 (0)