This commit is contained in:
ogerly 2019-10-08 20:29:41 +02:00
parent 3c04e1a328
commit b8037b6e1f
2 changed files with 56 additions and 61 deletions

View File

@ -2,10 +2,7 @@ import fs from 'fs'
import path from 'path' import path from 'path'
import minimatch from 'minimatch' import minimatch from 'minimatch'
let oEmbedProvidersFile = fs.readFileSync( let oEmbedProvidersFile = fs.readFileSync(path.join(__dirname, './providers.json'), 'utf8')
path.join(__dirname, './providers.json'),
'utf8',
)
// some providers allow a format parameter // some providers allow a format parameter
// we need JSON // we need JSON

View File

@ -68,8 +68,6 @@ describe('EmbedComponent.vue', () => {
selector: '.embed-preview-image--clickable', selector: '.embed-preview-image--clickable',
}) })
}) })
}) })
describe('given a href with embed html', () => { describe('given a href with embed html', () => {