refactor(compiler): provide _ctx and _cache via arguments
This commit is contained in:
@@ -9,7 +9,7 @@ test('should work', () => {
|
||||
expect(result.errors.length).toBe(0)
|
||||
expect(result.source).toBe(source)
|
||||
// should expose render fn
|
||||
expect(result.code).toMatch(`export function render()`)
|
||||
expect(result.code).toMatch(`export function render(`)
|
||||
})
|
||||
|
||||
test('preprocess pug', () => {
|
||||
|
||||
Reference in New Issue
Block a user