mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-20 01:25:16 +00:00
Don't copy assets for ebook to website bundle
This commit is contained in:
@@ -20,6 +20,10 @@ describe('eBook generator', function () {
|
||||
book.should.have.file('gitbook');
|
||||
book.should.have.file('gitbook/ebook.css');
|
||||
});
|
||||
|
||||
it('should not copy website assets', function() {
|
||||
book.should.not.have.file('gitbook/style.css');
|
||||
});
|
||||
});
|
||||
|
||||
describe('Custom styles', function() {
|
||||
|
||||
+5
-1
@@ -16,7 +16,11 @@ describe('Website generator', function () {
|
||||
it('should correctly copy assets', function() {
|
||||
book.should.have.file('gitbook');
|
||||
book.should.have.file('gitbook/app.js');
|
||||
book.should.have.file('gitbook/website.css');
|
||||
book.should.have.file('gitbook/style.css');
|
||||
});
|
||||
|
||||
it('should not copy ebook assets', function() {
|
||||
book.should.not.have.file('gitbook/ebook.css');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user