mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-17 19:21:20 +03:00
fix(plugin-helper): better handle content of TagNode
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
getNodeLength,
|
||||
isTagNode,
|
||||
isStringNode,
|
||||
isEOL,
|
||||
} from '../src';
|
||||
|
||||
describe('@bbob/plugin-helper', () => {
|
||||
@@ -65,4 +66,8 @@ describe('@bbob/plugin-helper', () => {
|
||||
|
||||
expect(attrValue('test', attrs)).toBe('test="{"tag":"test"}"');
|
||||
});
|
||||
|
||||
test('isEOL', () => {
|
||||
expect(isEOL('\n')).toBe(true)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user