fix lint error

This commit is contained in:
senderfm 2019-07-10 17:20:08 +02:00
parent 116ff124ed
commit acebf94b83

View File

@ -24,13 +24,13 @@ describe('ContributionForm.vue', () => {
let mocks let mocks
let propsData let propsData
const postTitle = 'this is a title for a post' const postTitle = 'this is a title for a post'
const postTitleTooShort = '12' const postTitleTooShort = 'xx'
let postTitleTooLong = '' let postTitleTooLong = ''
for (let i = 0; i < 100; i++) { for (let i = 0; i < 100; i++) {
postTitleTooLong += 'x' postTitleTooLong += 'x'
} }
const postContent = 'this is a post' const postContent = 'this is a post'
const postContentTooShort = '12' const postContentTooShort = 'xx'
let postContentTooLong = '' let postContentTooLong = ''
for (let i = 0; i < 2001; i++) { for (let i = 0; i < 2001; i++) {
postContentTooLong += 'x' postContentTooLong += 'x'