HeadlessViewTesting extension

on

Methods

expectFrame(String path, {bool? bless, String failures = 'build/fynkel_failures'}) → void

Available on HeadlessView, provided by the HeadlessViewTesting extension

Draws the world as it is now and checks the picture against the PNG at path, as expectImage does: view.expectFrame('test/frames/start.png').