m3-academy-template-vtexio/tests/utils/vtexWorkspaceLogin.mjs

9 lines
200 B
JavaScript
Raw Normal View History

2022-08-11 13:06:07 +00:00
import { exec } from "child_process";
import { promisify } from "util";
const execPromise = promisify(exec);
export const vtexWorkspaceLogin = () => {
return execPromise(`vtex local token`);
};