diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gitbook/src/plugins/__tests__/findForBook.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/gitbook/src/plugins/__tests__/findForBook.js b/packages/gitbook/src/plugins/__tests__/findForBook.js index 41df77e..0d12aa1 100644 --- a/packages/gitbook/src/plugins/__tests__/findForBook.js +++ b/packages/gitbook/src/plugins/__tests__/findForBook.js @@ -4,16 +4,16 @@ const Book = require('../../models/book'); const createNodeFS = require('../../fs/node'); const findForBook = require('../findForBook'); -describe('findForBook', function() { +describe('findForBook', () => { const fs = createNodeFS( path.resolve(__dirname, '../../..') ); const book = Book.createForFS(fs); - it('should list default plugins', function() { + it('should list default plugins', () => { return findForBook(book) - .then(function(plugins) { - expect(plugins.has('fontsettings')).toBeTruthy(); + .then((plugins) => { + expect(plugins.has('theme-default')).toBeTruthy(); }); }); }); |