microsoft / TypeSearch

368 stars 52 forks source link

Type "x", get "mocha" #11

Open ghost opened 8 years ago

ghost commented 8 years ago

screenshot2

mii9000 commented 7 years ago

Because in the datasource there are keywords like xit and xdescribe:

  {
    "p": "http://mochajs.org/",
    "l": "mocha 2.2.5",
    "g": [
      "Mocha",
      "after",
      "afterEach",
      "before",
      "beforeEach",
      "context",
      "describe",
      "it",
      "mocha",
      "setup",
      "specify",
      "suite",
      "suiteSetup",
      "suiteTeardown",
      "teardown",
      "test",
      "xdescribe",
      "xit"
    ],
    "t": "mocha",
    "m": [
      "mocha"
    ],
    "d": 3864969
  }
karlhorky commented 5 years ago

Update for 2019: Bug still exists. Now the search includes "Jest" instead of "mocha" 😂

Screen Shot 2019-07-08 at 12 35 07