mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add CSS to karma
This is useful for rich text tests which rely on DOM structure/CSS layout of rich text
This commit is contained in:
parent
672305c9c2
commit
b417516c7f
1 changed files with 5 additions and 2 deletions
|
@ -26,7 +26,10 @@ module.exports = function (config) {
|
|||
{ pattern: 'test/unit_frontend/js/**/*.js', included: false },
|
||||
// Include ES test files
|
||||
'test/unit_frontend/es/**/*.js',
|
||||
'modules/**/test/unit_frontend/es/**/*.js'
|
||||
'modules/**/test/unit_frontend/es/**/*.js',
|
||||
// Include CSS (there is some in js/libs dir)
|
||||
'public/stylesheets/**/*.css',
|
||||
'public/js/libs/**/*.css'
|
||||
],
|
||||
middleware: ['fake-img'],
|
||||
preprocessors: {
|
||||
|
@ -74,4 +77,4 @@ function fakeImgMiddlewareFactory () {
|
|||
}
|
||||
next()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue