mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
11 lines
316 B
JavaScript
11 lines
316 B
JavaScript
var path = require('path');
|
|
var locateRootFolder = require('../locateRootFolder');
|
|
|
|
describe('locateRootFolder', function() {
|
|
it('should correctly resolve the node_modules for gitbook', function() {
|
|
expect(locateRootFolder()).toBe(
|
|
path.resolve(__dirname, '../../../')
|
|
);
|
|
});
|
|
});
|