schultzcole / fvtt-quench Goto Github PK
View Code? Open in Web Editor NEWHarden your Foundry module or system code with end-to-end UI tests directly within Foundry. Powered by Mocha
License: GNU General Public License v3.0
Harden your Foundry module or system code with end-to-end UI tests directly within Foundry. Powered by Mocha
License: GNU General Public License v3.0
Hey,
first, thank you for this module. I run a lot of unit tests, but Quench looks like the missing part to test the things I could not test until now.
Currently, my system still uses Foundry VTT 0.7.x, but I'd like to upgrade soon. Writing tests before upgrading is great, but only if the test runner works under the new version too ;-)
I know that the module.json says 0.7.9. I looked through your source code and could not find anything that prevents Quench from running with 0.8.8. Hence, I tried and got some really strange errors (with DnD5e as System and without running any tests). The errors occur even if I do not run the tests on startup or disable the Quench dialog on startup.
Do you have any idea what the origin of this problem might be?
TypeError: Failed initial data preparation for Actor [T2AU48DotVvKMavP]: e.prepareData is not a function
at Actor5e.prepareEmbeddedEntities (foundry.js:9340)
at Actor5e.prepareEmbeddedEntities (foundry.js:12277)
at Actor5e.prepareData (foundry.js:9317)
at Actor5e.prepareData (entity.js:54)
at Actor5e._initialize (foundry.js:9130)
at new Document (document.mjs:51)
at new BaseActor (documents.mjs:61)
at new <anonymous> (foundry.js:9103)
at new Actor (foundry.js:12004)
at new Actor5e (entity.js:12)
foundry.js:9133 TypeError: Failed initial data preparation for Scene [Wr9wnTV5otwMKAil]: e.prepareData is not a function
at Scene.prepareEmbeddedEntities (foundry.js:9340)
at Scene.prepareData (foundry.js:9317)
at Scene._initialize (foundry.js:9130)
at new Document (document.mjs:51)
at new BaseScene (documents.mjs:850)
at new <anonymous> (foundry.js:9103)
at new Scene (foundry.js:15360)
at Map._initialize (foundry.js:10064)
at new WorldCollection (foundry.js:10050)
at new Scenes (foundry.js:11298)
Foundry VTT | Prepared World Documents in 17ms
TypeError: Cannot read property 'draw' of undefined
at foundry.js:19494
at Map.map (collection.mjs:145)
at DrawingsLayer.draw (foundry.js:19493)
at async Canvas.draw (foundry.js:17503)
at async Scene.view (foundry.js:15481)
at async Game.initializeCanvas (foundry.js:4418)
at async Game.setupGame (foundry.js:4297)
at async Game._initializeGameView (foundry.js:5117)
at async Game.initialize (foundry.js:4202)
foundry.js:17506 TypeError: Cannot read property 'draw' of undefined
at foundry.js:19494
at Map.map (collection.mjs:145)
at WallsLayer.draw (foundry.js:19493)
at async WallsLayer.draw (foundry.js:40409)
at async Canvas.draw (foundry.js:17503)
at async Scene.view (foundry.js:15481)
at async Game.initializeCanvas (foundry.js:4418)
at async Game.setupGame (foundry.js:4297)
at async Game._initializeGameView (foundry.js:5117)
at async Game.initialize (foundry.js:4202)
foundry.js:17506 TypeError: Cannot read property 'draw' of undefined
at foundry.js:19494
at Map.map (collection.mjs:145)
at TemplateLayer.draw (foundry.js:19493)
at async Canvas.draw (foundry.js:17503)
at async Scene.view (foundry.js:15481)
at async Game.initializeCanvas (foundry.js:4418)
at async Game.setupGame (foundry.js:4297)
at async Game._initializeGameView (foundry.js:5117)
at async Game.initialize (foundry.js:4202)
foundry.js:17506 TypeError: Cannot read property 'draw' of undefined
at foundry.js:19494
at Map.map (collection.mjs:145)
at TokenLayer.draw (foundry.js:19493)
at async Canvas.draw (foundry.js:17503)
at async Scene.view (foundry.js:15481)
at async Game.initializeCanvas (foundry.js:4418)
at async Game.setupGame (foundry.js:4297)
at async Game._initializeGameView (foundry.js:5117)
at async Game.initialize (foundry.js:4202)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.