Fixing AfterAll TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'

Posted Over 3 years ago. Visible to the public.

This error occurs when passing an object instead of a string to Jasmine's describe():

# Bad
describe(HoverClass, function() { ... })

# Correct
describe('HoverClass', function() { ... })
Dominik Schöler
Last edit
Over 3 years ago
Henning Koch
License
Source code in this card is licensed under the MIT License.
Posted by Dominik Schöler to makandra dev (2020-09-08 08:28)