Skip to content

Commit d3c98eb

Browse files
committed
fixup!
1 parent 6718243 commit d3c98eb

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

‎packages/remark-lint/src/rules/__tests__/invalid-type-reference.test.mjs‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,6 @@ const value = {invalid};
6565
},
6666
},
6767
},
68-
{
69-
name: 'replaces collapsed links to types',
70-
input: '[`net.Socket`][]\n\n[`net.Socket`]: net.md#class-netsocket',
71-
expected: ['Type reference should use "{}" syntax; saw "[`net.Socket`][]"'],
72-
replacement: '{net.Socket}',
73-
},
74-
{
75-
name: 'does not replace collapsed links to non-types',
76-
input: '[`not-a-type`][]\n\n[`not-a-type`]: ./example.md',
77-
expected: [],
78-
},
79-
{
80-
name: 'does not replace collapsed links to API members',
81-
input:
82-
'[`net.createServer()`][] and [`writable.writableLength`][]\n\n' +
83-
'[`net.createServer()`]: net.md#netcreateserveroptions-connectionlistener\n' +
84-
'[`writable.writableLength`]: stream.md#writablewritablelength',
85-
expected: [],
86-
},
8768
];
8869

8970
describe('invalid-type-reference', () => {

0 commit comments

Comments
 (0)