File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ test('initial indexing', async (t) => {
172
172
173
173
const KEY1 = '%Xwdpu9gRe8wl4i0ssKyU24oGYKXW75hjE5VCbEB9bmM=.sha25' // root post
174
174
const KEY2 = '%EpzOw6sOBb4RGtofVD43GnfImoiw6NzEEsraHsNXF1g=.sha25' // contact
175
+ const KEY3 = '%55wBq68+p45q7/OuPgL+TC07Ifx8ihEW93u/EZaYv6c=.sha256' // another post
175
176
const AUTHOR1 = '@ZngOKXHjrvG+cy7Gjx5pSFunUqcePfmDQQxoUlHFUdU=.ed2551'
176
177
const AUTHOR2 = '@58u/J9+5bOXeYRDCYQ9cJ7kklghIpQFPBYxlhKq1/qs=.ed2551'
177
178
@@ -198,13 +199,11 @@ const queries = {
198
199
199
200
'votes one initial' : [ and ( votesFor ( KEY1 ) ) ] ,
200
201
201
- 'votes one ' : [ and ( votesFor ( KEY1 ) ) ] ,
202
+ 'votes again ' : [ and ( votesFor ( KEY3 ) ) ] ,
202
203
203
- 'votes again ' : [ and ( votesFor ( KEY1 ) ) ] ,
204
+ 'hasRoot ' : [ and ( hasRoot ( KEY1 ) ) ] ,
204
205
205
- hasRoot : [ and ( hasRoot ( KEY1 ) ) ] ,
206
-
207
- 'hasRoot again' : [ and ( hasRoot ( KEY1 ) ) ] ,
206
+ 'hasRoot again' : [ and ( hasRoot ( KEY3 ) ) ] ,
208
207
209
208
'author one posts' : [
210
209
and ( type ( 'post' ) , author ( AUTHOR1 ) , isPublic ( ) ) ,
You can’t perform that action at this time.
0 commit comments