m3-academy-template-vtexio-.../tests/utils/vtexWorkspaceLogin.mjs
Caroline Moran f2a03c53ae first commit
2022-08-11 09:06:07 -04:00

9 lines
200 B
JavaScript

import { exec } from "child_process";
import { promisify } from "util";
const execPromise = promisify(exec);
export const vtexWorkspaceLogin = () => {
return execPromise(`vtex local token`);
};