Skip to content

Commit a15edca

Browse files
committed
test(metadata): remove redundant CLI flag slug tests
1 parent 079de38 commit a15edca

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/generators/metadata/utils/__tests__/slugger.test.mjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,6 @@ describe('slug', () => {
8080
});
8181
});
8282

83-
describe('cli flag anchor preservation', () => {
84-
it('preserves -- prefix for CLI flags', () => {
85-
assert.strictEqual(slug('--permission', identity), '--permission');
86-
});
87-
88-
it('preserves -- prefix for multi-word CLI flags', () => {
89-
assert.strictEqual(slug('--allow-fs-read', identity), '--allow-fs-read');
90-
});
91-
});
92-
9383
describe('integration with github-slugger', () => {
9484
it('lowercases and hyphenates a plain title', () => {
9585
assert.strictEqual(slug('Hello World'), 'hello-world');

0 commit comments

Comments
 (0)