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

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 Over 3 years ago