@minecraft
    正在准备搜索索引...

    函数 setBeforeBatchCallback

    • 世界修改 早期执行

      参数

      • batchName: string

        Name of the batch of tests the callback will run before.

      • batchCallback: () => void

      返回 void

      Sets a callback that is called before the batch gets called. This will overwrite previously set callbacks for this batch.

      This function can throw errors.

      GameTestError