Update references to renamed files

[MAILPOET-4938]
This commit is contained in:
Jan Jakes
2023-09-26 14:17:21 +02:00
committed by Aschepikov
parent d664f60e4b
commit 49dd627a76
23 changed files with 159 additions and 159 deletions

View File

@@ -15,7 +15,7 @@ describe('Save', function () {
var module;
before(function () {
module = SaveInjector({
'newsletter_editor/components/communication': {
'newsletter-editor/components/communication': {
CommunicationComponent: {
saveNewsletter: function () {
return jQuery.Deferred();
@@ -53,7 +53,7 @@ describe('Save', function () {
},
});
innerModule = SaveInjector({
'newsletter_editor/components/communication': {
'newsletter-editor/components/communication': {
CommunicationComponent: {
saveNewsletter: sinon.stub().returns(promise),
},
@@ -67,7 +67,7 @@ describe('Save', function () {
it('sends newsletter json to server for saving', function () {
var mock = sinon.mock().once().returns(jQuery.Deferred());
var innerModule = SaveInjector({
'newsletter_editor/components/communication': {
'newsletter-editor/components/communication': {
CommunicationComponent: {
saveNewsletter: mock,
},
@@ -97,7 +97,7 @@ describe('Save', function () {
body: body,
});
innerModule = SaveInjector({
'newsletter_editor/components/communication': {
'newsletter-editor/components/communication': {
CommunicationComponent: {
saveNewsletter: mock,
},
@@ -277,7 +277,7 @@ describe('Save', function () {
trackEvent: function () {},
},
},
'newsletter_editor/App': { App },
'newsletter-editor/app': { App },
common: {
fromNewsletter: function () {
return promiseMock;
@@ -309,7 +309,7 @@ describe('Save', function () {
it('saves newsletter when clicked on "next" button', function () {
var spy = sinon.spy();
var module = SaveInjector({
'newsletter_editor/components/communication': {
'newsletter-editor/components/communication': {
CommunicationComponent: {
saveNewsletter: function () {
return jQuery.Deferred();