atom-community / atom-ide-base

Atom IDE packages for Atom
https://atom.io/packages/atom-ide-base
Other
44 stars 10 forks source link

Nuclide Fuzzy Native test is failing #76

Open aminya opened 3 years ago

aminya commented 3 years ago
 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)