UNPKG

@lyra/generate-help-url

Version:

Generates URLs to specific sections of the Lyra documentation

12 lines (10 loc) 249 B
/* eslint-disable id-length */ const test = require('tape') const generateHelpUrl = require('..') test('should generate valid url', t => { t.equals( generateHelpUrl('foo-bar'), 'https://docs.vegapublish.com/help/foo-bar' ) t.end() })