Bug 1070731 - [sms] unit test refactoring for new version chai.assert api

test_agent used very old version chai library version=0.5.3
in the current version=1.9.1 deepEqual take prototype into consideration

apps/sms/test/unit/localization_helper_test.js - plain structure
 i have some problem with assert.throw - simply plain code for check problem place


Mon, 22 Sep 2014 05:38:01 -0700 от Julien Wajsberg <notifications@github.com>:
>In apps/sms/test/unit/localization_helper_test.js:
>>  
> -        assertChange(node.dataset.l10nDateFormat24);
> +        onTimeFormatChange();
> +        assertChange(node.textContent, node.dataset.l10nDateFormat24);
>        });
>      });
>    });
>I'm not sure why you rewrote most of this file. I think Oleg tried to factorize most of these tests to avoid some copy/paste, and I think we should try to stay the same. Oleg will help you doing some better code here.
>Thanks
>—
>Reply to this email directly or  view it on GitHub .

С уважением, Волков Вячеслав!