Pārlūkot izejas kodu

Fix getPlugin() test after ff8d6792 (oops)

Renée Kooi 7 gadi atpakaļ
vecāks
revīzija
0445313f7d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/core/Core.test.js

+ 1 - 1
src/core/Core.test.js

@@ -88,7 +88,7 @@ describe('src/Core', () => {
 
 
     it('should return the plugin that matches the specified name', () => {
     it('should return the plugin that matches the specified name', () => {
       const core = new Core()
       const core = new Core()
-      expect(core.getPlugin('foo')).toEqual(false)
+      expect(core.getPlugin('foo')).toEqual(null)
 
 
       core.use(AcquirerPlugin1)
       core.use(AcquirerPlugin1)
       const plugin = core.getPlugin('TestSelector1')
       const plugin = core.getPlugin('TestSelector1')