Skip to content

Commit a0a2a7f

Browse files
committed
Update ParseQuery.FullTextSearch.spec.js
1 parent ef96899 commit a0a2a7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/ParseQuery.FullTextSearch.spec.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const fullTextHelper = async () => {
2929
);
3030
};
3131

32-
describe('Parse.Query Full Text Search testing', () => {
32+
fdescribe('Parse.Query Full Text Search testing', () => {
3333
it('fullTextSearch: $search', async () => {
3434
await fullTextHelper();
3535
const query = new Parse.Query('TestObject');
@@ -64,7 +64,8 @@ describe('Parse.Query Full Text Search testing', () => {
6464
expect(first.get('score'));
6565
expect(second.get('score'));
6666
expect(third.get('score'));
67-
expect(first.get('score') > second.get('score') > third.get('score')).toBeTrue();
67+
expect(first.get('score') >= second.get('score')).toBeTrue();
68+
expect(second.get('score') >= third.get('score')).toBeTrue();
6869
});
6970

7071
it('fullTextSearch: $language', async () => {

0 commit comments

Comments
 (0)