blob: e313c86e224e5b0b5f86cd8d8fab6e59e0436049 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
var path = require('path');
describe('findInstalled', function() {
var findInstalled = require('../findInstalled');
pit('must list default plugins for gitbook directory', function() {
return findInstalled(path.resolve(__dirname, '../../../'))
.then(function(plugins) {
expect(plugins.size > 6).toBeTruthy();
expect(plugins.has('fontsettings')).toBe(true);
expect(plugins.has('search')).toBe(true);
});
});
});
|