Skip to content

Commit 4ab42f1

Browse files
committed
refactor: rename test to avoid problems with selective run
1 parent 4a910a5 commit 4ab42f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/prefix-groups.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { ANNOTATION_CHANGE_TYPE, BREAKING_CHANGE_TYPE, BUILD_TYPE, NON_BREAKING_
2727
const pkg = LocalRegistry.openPackage('apihub')
2828

2929
describe('Prefix Groups test', () => {
30-
test('should compare prefix groups /api/{group}, groups=v2, v3', async () => {
30+
test('should compare prefix groups groups=v2,v3', async () => {
3131
// generate missing versions/apihub folder contents
3232
await pkg.publish(pkg.packageId, {
3333
version: 'v1',
@@ -96,7 +96,7 @@ describe('Prefix Groups test', () => {
9696
}))
9797
})
9898

99-
test('should compare prefix groups /api/{group} when prefix specified in server', async () => {
99+
test('should compare prefix groups when prefix specified in server', async () => {
100100
const result = await buildPrefixGroupChangelogPackage({
101101
packageId: 'prefix-groups/mixed-cases-with-bulk-prefix-increment',
102102
config: { files: [{ fileId: 'spec1.yaml' }, { fileId: 'spec2.yaml' }] },
@@ -125,7 +125,7 @@ describe('Prefix Groups test', () => {
125125
}))
126126
})
127127

128-
test('should compare prefix groups /api/{group} when prefix is moved from server to path', async () => {
128+
test('should compare prefix groups when prefix is moved from server to path', async () => {
129129
const result = await buildPrefixGroupChangelogPackage({
130130
packageId: 'prefix-groups/mixed-cases-with-prefix-moved-from-server-to-path',
131131
config: { files: [{ fileId: 'spec1.yaml' }, { fileId: 'spec2.yaml' }] },
@@ -144,7 +144,7 @@ describe('Prefix Groups test', () => {
144144
})
145145

146146
// todo: case that we don't support due to shifting to the new changelog calculation approach which involves comparison of the entire docs instead of the operation vs operation comparison
147-
test.skip('should compare prefix groups /api/{group} when prefix is overridden in method', async () => {
147+
test.skip('should compare prefix groups when prefix is overridden in method', async () => {
148148
const result = await buildPrefixGroupChangelogPackage({
149149
packageId: 'prefix-groups/mixed-cases-with-method-prefix-override',
150150
config: { files: [{ fileId: 'spec1.yaml' }, { fileId: 'spec2.yaml' }] },
@@ -162,7 +162,7 @@ describe('Prefix Groups test', () => {
162162
}))
163163
})
164164

165-
test('should compare prefix groups /api/{group} when prefix is overridden in path', async () => {
165+
test('should compare prefix groups when prefix is overridden in path', async () => {
166166
const result = await buildPrefixGroupChangelogPackage({
167167
packageId: 'prefix-groups/mixed-cases-with-path-prefix-override',
168168
config: { files: [{ fileId: 'spec1.yaml' }, { fileId: 'spec2.yaml' }] },

0 commit comments

Comments
 (0)