-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] fix tests (#129) #130
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
await d.destroy(); | ||
expect(d.destroyed).to.equal(true); | ||
/* await d.destroy(); | ||
expect(d.destroyed).to.equal(true); */ | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikonikoniko destroying the database fails. Do you have any idea why?
|
||
const arraysEqual = (a1, a2) => a1.map((x) => a2.includes(x)).every((x) => x === true); | ||
|
||
expect( | ||
arraysEqual( | ||
docs, | ||
expected_docs.map((d) => d.id), | ||
expected_docs.map((d) => d.document__id), | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikonikoniko this also fails :/
No description provided.