Created 10 detailed GitHub issues covering: - Project activation and management UI (#1-2) - Worker node coordination and visualization (#3-4) - Automated GitHub repository scanning (#5) - Intelligent model-to-issue matching (#6) - Multi-model task execution system (#7) - N8N workflow integration (#8) - Hive-Bzzz P2P bridge (#9) - Peer assistance protocol (#10) Each issue includes detailed specifications, acceptance criteria, technical implementation notes, and dependency mapping. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
975 B
JavaScript
30 lines
975 B
JavaScript
suite('lunr.trimmer', function () {
|
|
test('latin characters', function () {
|
|
var token = new lunr.Token ('hello')
|
|
assert.equal(lunr.trimmer(token).toString(), token.toString())
|
|
})
|
|
|
|
suite('punctuation', function () {
|
|
var trimmerTest = function (description, str, expected) {
|
|
test(description, function () {
|
|
var token = new lunr.Token(str),
|
|
trimmed = lunr.trimmer(token).toString()
|
|
|
|
assert.equal(expected, trimmed)
|
|
})
|
|
}
|
|
|
|
trimmerTest('full stop', 'hello.', 'hello')
|
|
trimmerTest('inner apostrophe', "it's", "it's")
|
|
trimmerTest('trailing apostrophe', "james'", 'james')
|
|
trimmerTest('exclamation mark', 'stop!', 'stop')
|
|
trimmerTest('comma', 'first,', 'first')
|
|
trimmerTest('brackets', '[tag]', 'tag')
|
|
})
|
|
|
|
test('is a registered pipeline function', function () {
|
|
assert.equal(lunr.trimmer.label, 'trimmer')
|
|
assert.equal(lunr.Pipeline.registeredFunctions['trimmer'], lunr.trimmer)
|
|
})
|
|
})
|