fixed fragile test of variable if (doc.ns === 'test.posts') if a different db name is used this will fail
fixed fragile test of variable
if (doc.ns === 'test.posts')
if a different db name is used this will fail

changed this to a regex pattern test, which is agnostic to db name used

agco/harvesterjs