Open stevefan1999-personal opened 2 years ago
Here's a workaround:
expect(await this.db.getSetsMembers(['test', 'test1'])).toSatisfy((arr) =>
_.isMatch(arr, [
['1234', '5678', 'abcd'],
['5678', 'abcd'],
]),
)
But this requires lodash
Here's a sample query:
But
They are both correct results but different in order.