mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
fixed helmet for testing
This commit is contained in:
parent
1e7ae073a9
commit
dd546faee0
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@ import {
|
|||
|
||||
import { RouterServer } from './router.jsx';
|
||||
|
||||
//fix helmet when running tests
|
||||
if (Meteor.isPackageTest) {
|
||||
Helmet.canUseDOM = false;
|
||||
}
|
||||
|
||||
Meteor.startup(() => {
|
||||
// note: route defined here because it "shouldn't be removable"
|
||||
addRoute({name:'app.notfound', path:'*', componentName: 'Error404'});
|
||||
|
|
Loading…
Add table
Reference in a new issue