Files
component-detection-depende…/index.test.js
Justin Hutchings 4bea3a0f91 Add debugging
2022-10-04 11:30:52 -07:00

10 lines
286 B
JavaScript

const process = require('process');
const cp = require('child_process');
const path = require('path');
test('test runs', () => {
const ip = path.join(__dirname, "dist", 'index.js');
const result = cp.execSync(`node ${ip}`, {filePath: "test"}).toString();
console.log(result);
})