Skip to content

Commit

Permalink
done fixing watch-project tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m5r committed Nov 13, 2023
1 parent 51307b0 commit 7e7d93d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion test/fn/watch-project.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ describe('watch-project', function () {
});

it('watch-project: upload custom translations', () => {
api.giveResponses(
{
status: 200,
body: { version: '3.5.0' },
},
{
status: 200,
body: { compressible_types: 'text/*, application/javascript, application/json, application/xml' },
},
);

return uploadCustomTranslations()
.then(() => expectTranslationDocs(api, 'en'))
.then(() => watchWrapper(editTranslations, 'messages-en.properties'))
Expand Down Expand Up @@ -211,7 +222,9 @@ describe('watch-project', function () {
});
});

it('watch-project: do not delete app form when a form part exists', () => {
it('watch-project: do not delete app form when a form part exists', function () {
this.timeout(15000);

const form = 'death';
copySampleForms('delete-form');
const deleteForm = () => {
Expand Down

0 comments on commit 7e7d93d

Please sign in to comment.