mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
add test
This commit is contained in:
@@ -14,7 +14,8 @@ test('findNoteTitle#find should return a correct title (string)', t => {
|
|||||||
['hoge\n====\nfuga', 'hoge'],
|
['hoge\n====\nfuga', 'hoge'],
|
||||||
['====', '===='],
|
['====', '===='],
|
||||||
['```\n# hoge\n```', '```'],
|
['```\n# hoge\n```', '```'],
|
||||||
['hoge', 'hoge']
|
['hoge', 'hoge'],
|
||||||
|
['---\nlayout: test\n---\n # hoge', '# hoge']
|
||||||
]
|
]
|
||||||
|
|
||||||
testCases.forEach(testCase => {
|
testCases.forEach(testCase => {
|
||||||
|
|||||||
Reference in New Issue
Block a user