mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 05:11:19 +00: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 },
|
{ pattern: 'test/unit_frontend/js/**/*.js', included: false },
|
||||||
// Include ES test files
|
// Include ES test files
|
||||||
'test/unit_frontend/es/**/*.js',
|
'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'],
|
middleware: ['fake-img'],
|
||||||
preprocessors: {
|
preprocessors: {
|
||||||
|
@ -74,4 +77,4 @@ function fakeImgMiddlewareFactory () {
|
||||||
}
|
}
|
||||||
next()
|
next()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue