Add unit testing support with vitest (#18)
* update loose files and add vitest * update test scripts * more support for vitest * more test support * update vscode settings
This commit is contained in:
1 parent
4e911a9be9
commit
53def01b51
14 files changed
+3232
-41
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import Phaser from "phaser";
|
||||
|
||||
export default new Phaser.Game({
|
||||
type: Phaser.HEADLESS,
|
||||
});
|
||||
@@ -0,0 +1,2 @@
|
||||
import "vitest-canvas-mock";
|
||||
import "#app/test/phaser.setup";
|
||||
Reference in new issue
Block a user