Johan Preynat
33406c3082
Merge pull request #1336 from GitbookIO/loading/themes
...
Load plugins before themes
2016-05-28 11:56:34 +02:00
Johan Preynat
1afb23cada
Add test file for sortPlugins()
2016-05-27 15:06:08 +02:00
Samy Pessé
2ceab04d01
Increase timeout for tests of plugin installation
2016-05-27 11:40:05 +02:00
Samy Pessé
de37de44e8
Add tests for installation of all plugins
2016-05-27 11:18:12 +02:00
Samy Pessé
ccb87d5a13
Add unit tests for installPlugin
2016-05-27 11:10:39 +02:00
Samy Pessé
e2e0ca3f05
Add test for plugin version resolution
2016-05-27 10:54:56 +02:00
Ryan Swanson
465e8d6c0a
Fixed two issues for handling git URLs for plugins that are published to git repositories rather than on npmjs.org.
...
Fixed issue in pluginDependency to dereference 'name' and 'version' using Immutable Map.get(...) accessors since config values are now wrapped by Immutable.fromJS(...) in config.js > setValue(...). Added associated unit test.
Fixed issue in resolveVersion where a plugin may be using a git URL rather than a semver for the version portion of the plugin config definition. In addition, refactored the resolveVersion function into a new module to allow for unit testing. Added associated unit test.
2016-05-26 14:30:29 -04:00
Samy Pesse
ef589a6b13
Switch tests to mocha while keeping jest structure
2016-05-11 13:02:24 +02:00
Samy Pessé
c87060454e
Add model for plugin dependencies in the book.json
2016-05-02 16:24:20 +02:00
Johan Preynat
fa6fcffbe1
Improve lib/plugins/__tests__/findInstalled.js
2016-05-02 15:06:02 +02:00
Johan Preynat
59479f10fc
Fix lib/plugins/__tests__/findInstalled.js
2016-05-02 14:46:54 +02:00
Samy Pesse
db1a0aedf8
Fix listing of plugins when contains "-"
2016-04-29 23:13:31 +02:00
Samy Pessé
281f6d5535
Extend timeout for tests
2016-04-28 15:36:54 +02:00
Samy Pessé
a9d558e891
Add method ".toText" on glossary and summary
2016-04-27 14:11:45 +02:00
Samy Pesse
374ebd6f7a
Add mock fs and tests for it
2016-04-26 10:23:37 +02:00
Samy Pessé
4336fdb241
Base
2016-04-22 11:00:21 +02:00