mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 08:47:42 -05:00
8 lines
224 B
JavaScript
8 lines
224 B
JavaScript
|
import {svg} from './svg.js';
|
||
|
|
||
|
test('svg', () => {
|
||
|
expect(svg('octicon-repo')).toStartWith('<svg');
|
||
|
expect(svg('octicon-repo', 16)).toInclude('width="16"');
|
||
|
expect(svg('octicon-repo', 32)).toInclude('width="32"');
|
||
|
});
|