Get help with testing, discuss unit testing strategies etc.


Post by nmorado »

Hi

I am getting this error on test.type(numberField, value):

TypeError: b.match is not a function.

Any ideas?

Post by nickolay »

What is the "value" - is it a string?

Post by mats »

Nope? Test case?

Post by nmorado »

number

Post by nickolay »

Ok, small bug - we assume its a string. Fixed now. Please try: t.type(field, value + '') as a workaround.

Post by nmorado »

works - thanks

Post Reply