Run prettier on code

This commit is contained in:
Kim Biesbjerg
2020-03-25 11:47:44 +01:00
parent ce399ee717
commit ecf629118a
14 changed files with 81 additions and 79 deletions

View File

@@ -1 +0,0 @@
{{ 'SOURCES.' + source.name + '.NAME_PLURAL' | translate }}

View File

@@ -94,7 +94,9 @@ describe('DirectiveParser', () => {
</p>
`;
const keys = parser.extract(contents, templateFilename).keys();
expect(keys).to.deep.equal(['Please leave a message for your client letting them know why you rejected the field and what they need to do to fix it.']);
expect(keys).to.deep.equal([
'Please leave a message for your client letting them know why you rejected the field and what they need to do to fix it.'
]);
});
it('should extract contents without indent spaces', () => {
@@ -105,7 +107,9 @@ describe('DirectiveParser', () => {
</div>
`;
const keys = parser.extract(contents, templateFilename).keys();
expect(keys).to.deep.equal(['There are currently no students in this class. The good news is, adding students is really easy! Just use the options at the top.']);
expect(keys).to.deep.equal([
'There are currently no students in this class. The good news is, adding students is really easy! Just use the options at the top.'
]);
});
it('should extract contents without indent spaces', () => {

View File

@@ -50,5 +50,4 @@ describe('MarkerParser', () => {
const keys = parser.extract(contents, componentFilename).keys();
expect(keys).to.deep.equal(['DYNAMIC_TRAD.val1', 'DYNAMIC_TRAD.val2']);
});
});