UNPKG

tre-compile

Version:

compile js to a static web-executable (single html file)

11 lines (9 loc) 216 B
const test = require('tape') const {exec} = require('../git-meta') test('environment set by wrapper', t=>{ exec('git', {}, (err, data)=>{ t.notOk(err) t.equals(data, 'Hello, world!\n') t.end() }) })