Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

serializes to the same string

// Replace this
expect(function(array1)).toBe('one result')

// With this
expect(function(array2)).toEqual(['more than one', 'more than one']);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #serializes #string
ADD COMMENT
Topic
Name
6+7 =