mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed incorrect require path in theme tests
- At some point we have updated the path that should be required to get helpers, but missed updating the path in this test - When run with the full suite, the test still passed, but when run independently it threw the error loadCoreHelpers is not a function - This is to do with some interaction with the middleware_spec.js tests - I'm working on breaking all this down so hopefully will get rid of any further weird test independence issues
This commit is contained in:
parent
87b702f5d2
commit
307e035796
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ const _ = require('lodash');
|
|||
const hbs = require('../../../../../core/frontend/services/theme-engine/engine');
|
||||
|
||||
// Stuff we are testing
|
||||
const helpers = require('../../../../../core/frontend/helpers');
|
||||
const helpers = require('../../../../../core/frontend/services/themes/handlebars/helpers');
|
||||
|
||||
describe('Helpers', function () {
|
||||
const hbsHelpers = ['each', 'if', 'unless', 'with', 'helperMissing', 'blockHelperMissing', 'log', 'lookup', 'block', 'contentFor'];
|
||||
|
|
Loading…
Add table
Reference in a new issue