Created
December 19, 2018 20:35
-
-
Save josiahhaswell/391a0859c5e315bf8263f185fba49d76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as pug from 'pug'; | |
import {PLATFORM} from 'aurelia-pal'; | |
import { | |
StageComponent, | |
ComponentTester | |
} from 'aurelia-testing'; | |
export function render(template: string, options?:any) : string { | |
return pug.compile(template.trim())(options); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment