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>
This commit is contained in:
53
mcp-server/node_modules/lunr/test/serialization_test.js
generated
vendored
Normal file
53
mcp-server/node_modules/lunr/test/serialization_test.js
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
suite('serialization', function () {
|
||||
setup(function () {
|
||||
var documents = [{
|
||||
id: 'a',
|
||||
title: 'Mr. Green kills Colonel Mustard',
|
||||
body: 'Mr. Green killed Colonel Mustard in the study with the candlestick. Mr. Green is not a very nice fellow.',
|
||||
wordCount: 19
|
||||
},{
|
||||
id: 'b',
|
||||
title: 'Plumb waters plant',
|
||||
body: 'Professor Plumb has a green plant in his study',
|
||||
wordCount: 9
|
||||
},{
|
||||
id: 'c',
|
||||
title: 'Scarlett helps Professor',
|
||||
body: 'Miss Scarlett watered Professor Plumbs green plant while he was away from his office last week.',
|
||||
wordCount: 16
|
||||
},{
|
||||
id: 'd',
|
||||
title: 'All about JavaScript',
|
||||
body: 'JavaScript objects have a special __proto__ property',
|
||||
wordCount: 7
|
||||
}]
|
||||
|
||||
this.idx = lunr(function () {
|
||||
this.ref('id')
|
||||
this.field('title')
|
||||
this.field('body')
|
||||
|
||||
documents.forEach(function (document) {
|
||||
this.add(document)
|
||||
}, this)
|
||||
})
|
||||
|
||||
this.serializedIdx = JSON.stringify(this.idx)
|
||||
this.loadedIdx = lunr.Index.load(JSON.parse(this.serializedIdx))
|
||||
})
|
||||
|
||||
test('search', function () {
|
||||
var idxResults = this.idx.search('green'),
|
||||
serializedResults = this.loadedIdx.search('green')
|
||||
|
||||
assert.deepEqual(idxResults, serializedResults)
|
||||
})
|
||||
|
||||
test('__proto__ double serialization', function () {
|
||||
var doubleLoadedIdx = lunr.Index.load(JSON.parse(JSON.stringify(this.loadedIdx))),
|
||||
idxResults = this.idx.search('__proto__'),
|
||||
doubleSerializedResults = doubleLoadedIdx.search('__proto__')
|
||||
|
||||
assert.deepEqual(idxResults, doubleSerializedResults)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user