Files
appium/packages/fake-driver/index.js
T
Christopher Hiller 1b29920485 fix(fake-driver): create cjs executable entry point
This driver wasn't working properly when used directly
2022-03-09 14:50:45 -08:00

12 lines
207 B
JavaScript
Executable File

#!/usr/bin/env node
const {asyncify} = require('asyncbox');
const fakeDriver = require('./build/lib/index.js');
if (require.main === module) {
asyncify(fakeDriver.main);
}
module.exports = fakeDriver;