Files
hive/mcp-server/node_modules/lunr/test/stemmer_test.js
anthonyrawlins e89f2f4b7b Add comprehensive development roadmap via GitHub Issues
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>
2025-07-12 19:41:01 +10:00

27 lines
705 B
JavaScript

suite('lunr.stemmer', function () {
test('reduces words to their stem', function (done) {
withFixture('stemming_vocab.json', function (err, fixture) {
if (err != null) {
throw err
}
var testData = JSON.parse(fixture)
Object.keys(testData).forEach(function (word) {
var expected = testData[word],
token = new lunr.Token(word),
result = lunr.stemmer(token).toString()
assert.equal(expected, result)
})
done()
})
})
test('is a registered pipeline function', function () {
assert.equal('stemmer', lunr.stemmer.label)
assert.equal(lunr.stemmer, lunr.Pipeline.registeredFunctions['stemmer'])
})
})