feature: Update the version to 2.60.0 and improve the handling of human gestures, etc.

This commit is contained in:
2025-11-15 12:35:09 +01:00
parent 41d06ee001
commit cf0611d841
13 changed files with 165 additions and 96 deletions

View File

@@ -1,7 +1,7 @@
import test from 'node:test'
import assert from 'node:assert/strict'
import test from 'node:test'
import { QueryDiversityEngine } from '../src/util/QueryDiversityEngine'
import { QueryDiversityEngine } from '../src/util/network/QueryDiversityEngine'
test('QueryDiversityEngine fetches and limits queries', async () => {
const engine = new QueryDiversityEngine({
@@ -13,7 +13,7 @@ test('QueryDiversityEngine fetches and limits queries', async () => {
assert.ok(queries.length > 0, 'Should return at least one query')
assert.ok(queries.length <= 10, 'Should respect count limit')
assert.ok(queries.every(q => typeof q === 'string' && q.length > 0), 'All queries should be non-empty strings')
assert.ok(queries.every((q: string) => typeof q === 'string' && q.length > 0), 'All queries should be non-empty strings')
})
test('QueryDiversityEngine deduplicates queries', async () => {