Skip to content
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

Nuclide Fuzzy Native test is failing #76

Open
aminya opened this issue Jun 9, 2021 · 0 comments
Open

Nuclide Fuzzy Native test is failing #76

aminya opened this issue Jun 9, 2021 · 0 comments
Labels

Comments

@aminya
Copy link
Member

aminya commented Jun 9, 2021

 FAIL  nuclide-fuzzy-native/__tests__/fuzzy-native-test.js
   fuzzy-native  can be required

    expect(received).toEqual(expected) // deep equality

    - Expected  - 1
    + Received  + 2

      Array [
        Object {
    -     "score": 1,
    +     "matchIndexes": Array [],
    +     "score": 0,
          "value": "test",
        },
      ]

      17 |     // The fallback uses a different scoring mechanism, so this will fail
      18 |     // if the native module failed to load.
    > 19 |     expect(matcher.match('test')).toEqual([{value: 'test', score: 1}]);
         |     ^
      20 |   });
      21 | });
      22 |

      at Object.<anonymous> (../nuclide/nuclide-fuzzy-native/__tests__/fuzzy-native-test.js:19:5)
@aminya aminya added the Tests label Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant