https://github.com/zewa666/phaser-vitest-bug
A repro demonstrating an issue with Phaser3 and vitest
https://github.com/zewa666/phaser-vitest-bug
Last synced: about 2 months ago
JSON representation
A repro demonstrating an issue with Phaser3 and vitest
- Host: GitHub
- URL: https://github.com/zewa666/phaser-vitest-bug
- Owner: zewa666
- Created: 2022-09-26T17:24:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-26T17:30:22.000Z (over 3 years ago)
- Last Synced: 2025-03-05T06:29:41.483Z (about 1 year ago)
- Language: TypeScript
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Issue with Vitest and Phaser3
I've been able to reproduce this issue on Win10 and Ubuntu, although they appear in a bit different variance (error codes, vs straight kill of execution)
* npm install
* npm test
* open `demo.spec.ts` and hit control+s (trigger re-test)
* watch the command line output
```bash
(process:16044): GLib-GObject-WARNING **: 19:29:39.729: cannot register existing type 'PangoFontMap'
(process:16044): GLib-GObject-WARNING **: 19:29:39.729: cannot add private field to invalid (non-instantiatable) type ''
(process:16044): GLib-GObject-CRITICAL **: 19:29:39.729: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(process:16044): GLib-CRITICAL **: 19:29:39.729: g_once_init_leave: assertion 'result != 0' failed
(process:16044): GLib-GObject-CRITICAL **: 19:29:39.729: g_type_register_static: assertion 'parent_type > 0' failed
(process:16044): GLib-GObject-WARNING **: 19:29:39.729: cannot add private field to invalid (non-instantiatable) type ''
(process:16044): GLib-GObject-CRITICAL **: 19:29:39.729: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(process:16044): GLib-CRITICAL **: 19:29:39.729: g_once_init_leave: assertion 'result != 0' failed
(process:16044): GLib-GObject-CRITICAL **: 19:29:39.729: g_type_register_static: assertion 'parent_type > 0' failed
(process:16044): GLib-GObject-WARNING **: 19:29:39.729: cannot register existing type 'PangoCairoFontMap'
```