message: fix: js cli build test
diff: @@ -59,10 +59,14 @@ const testData: CommandTestCaseData<CommandTypings> = {
  build: [{
  options: { strategy: "vm" },
  cwd: path.join(GetPathToCliTestFiles(), "wasm/build-cmd/assemblyscript/001-sanity"),
  - before: (test) => {
  + before: async (test) => {
  // clear build dir
  if (!test.cwd) throw Error("This shouldn't happen");
  clearDir(path.join(test.cwd, "build"));
  + await Commands.codegen(
  + undefined,
  + { cwd: test.cwd, cli: test.cli }
  + );
  },
  after: (test) => {
  // check for build dir and artifacts
  