13 lines
413 B
Plaintext
13 lines
413 B
Plaintext
Tests for the Canvas.resolveContext command for 2D contexts.
|
|
|
|
|
|
== Running test suite: Canvas.resolveContext2D
|
|
-- Running test case: Canvas.resolveContext2D.validIdentifier
|
|
PASS: Payload should have type "object".
|
|
PASS: Payload should have className "CanvasRenderingContext2D".
|
|
|
|
-- Running test case: Canvas.resolveContext.invalidIdentifier
|
|
PASS: Should produce an error.
|
|
Error: Missing canvas for given canvasId
|
|
|