@akashic/engine-files-reftest-helper 1.3.0-beta.1 → 1.3.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +7 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -108,4 +108,11 @@ if (typeof g !== "undefined") {
108
108
  scene.message.add({ func: handleScenario, name: handlerName });
109
109
  }
110
110
  });
111
+ // エントリポイント以外からも参照できるようにするために g.game.vars に格納しておく
112
+ g.game.vars = {
113
+ postConsole,
114
+ screenshot,
115
+ finish,
116
+ getImageDataUrlFromCanvas
117
+ };
111
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akashic/engine-files-reftest-helper",
3
- "version": "1.3.0-beta.1",
3
+ "version": "1.3.0-beta.2",
4
4
  "description": "engine-files-reftestでコンテンツを自動実行するためのライブラリ",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",