Files
shields/lib/svg-helpers.spec.js
chris48s 13d75e0607 upgrade to prettier 2 (#5051)
* arrowParens: avoid
* remove trailingComma setting
2020-05-05 21:07:43 +01:00

13 lines
339 B
JavaScript

'use strict'
const { test, given } = require('sazerac')
const { svg2base64 } = require('./svg-helpers')
describe('SVG helpers', function () {
test(svg2base64, () => {
given('<svg xmlns="http://www.w3.org/2000/svg"/>').expect(
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciLz4='
)
})
})