Fix javascript tests
[MAILPOET-2281]
This commit is contained in:
committed by
Jack Kitterhing
parent
b17ade80c2
commit
61cd5e1cc2
@@ -10,6 +10,9 @@ describe('Heading', function () {
|
||||
var model = new Backbone.SuperModel({
|
||||
subject: 'a test subject',
|
||||
});
|
||||
model.isWoocommerceTransactional = function () {
|
||||
return false;
|
||||
};
|
||||
view = new (HeadingComponent.HeadingView)({
|
||||
model: model,
|
||||
});
|
||||
@@ -26,6 +29,9 @@ describe('Heading', function () {
|
||||
subject: 'a test subject',
|
||||
preheader: 'a test preheader',
|
||||
});
|
||||
model.isWoocommerceTransactional = function () {
|
||||
return false;
|
||||
};
|
||||
view = new (HeadingComponent.HeadingView)({
|
||||
model: model,
|
||||
});
|
||||
|
Reference in New Issue
Block a user