test(r): name the wrapped namespace directive test by its shape

This commit is contained in:
Mick Cooney 2026-10-18 13:15:09 +01:00
parent fa219a80ad
commit 57f01ac288

View file

@ -37,7 +37,7 @@ describe('parseRNamespaceImportFrom', () => {
]);
});
it('parses a 6-line wrapped directive', () => {
it('parses a directive wrapped one argument per line', () => {
const src = 'importFrom(\n scorelib,\n a,\n b,\n c,\n d\n)\n';
expect(parseRNamespaceImportFrom(src)).toEqual([
{ pkg: 'scorelib', name: 'a' },