mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-17 19:21:20 +03:00
feat(html): @bbob/html now can be used without @bbob/core
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import {
|
||||
attrsToString,
|
||||
attrValue,
|
||||
appendToNode,
|
||||
getNodeLength,
|
||||
@@ -69,5 +70,13 @@ describe('@bbob/plugin-helper', () => {
|
||||
|
||||
test('isEOL', () => {
|
||||
expect(isEOL('\n')).toBe(true)
|
||||
});
|
||||
|
||||
test('attrsToString', () => {
|
||||
expect(attrsToString({
|
||||
tag: 'test',
|
||||
foo: 'bar',
|
||||
disabled: true
|
||||
})).toBe(` tag="test" foo="bar" disabled`)
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user