File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " emailjs-mime-builder" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "homepage" : " https://github.com/emailjs/emailjs-mime-builder" ,
55 "description" : " emailjs-mime-builder is a low level rfc2822 message composer. Define your own mime tree, no magic included." ,
66 "author" : " Andris Reinman <andris@kreata.ee>" ,
Original file line number Diff line number Diff line change 287287 expect ( / ^ S u b j e c t : = \? U T F - 8 \? Q \? j = C 3 = B 5 g e v a l \? = i s t u s = \? U T F - 8 \? Q \? k = C 3 = A 4 g u \? = m e t s a s $ / m. test ( msg ) ) . to . be . true ;
288288 } ) ;
289289
290- it . skip ( 'should have unicode subject with strange characters' , function ( ) {
290+ it ( 'should have unicode subject with strange characters' , function ( ) {
291291 var msg = new Mimebuilder ( 'text/plain' ) .
292292 setHeader ( {
293293 subject : 'ˆ¸ÁÌÓıÏˇÁÛ^¸\\ÁıˆÌÁÛØ^\\˜Û˝™ˇıÓ¸^\\˜fi^\\·\\˜Ø^£˜#fi^\\£fi^\\£fi^\\'
294294 } ) . build ( ) ;
295295
296- expect ( msg . match ( / \b S u b j e c t : [ ^ \r ] * \r \n ( [ ^ \r ] * \r \n ) * / ) [ 0 ] ) . to . equal ( 'Subject: =?UTF-8?Q?=CB=86=C2=B8=C3=81=C3=8C=C3=93=C4=B1?=\r\n =?UTF-8?Q?=C3=8F=CB=87=C3=81=C3=9B^= C2=B8\\=C3=81 ?=\r\n =?UTF-8?Q?=C4=B1=CB=86=C3=8C=C3=81=C3=9B=C3=98^\\ ?=\r\n =?UTF-8?Q?=CB=9C=C3=9B=CB=9D=E2=84=A2=CB=87=C4=B1 ?=\r\n =?UTF-8?Q?=C3=93=C2=B8^\\= CB=9C= EF=AC=81^\\= C2=B7\\ ?=\r\n =?UTF-8?Q?=CB=9C=C3=98^= C2=A3=CB=9C#= EF=AC=81^\\ ?=\r\n =?UTF-8?Q?=C2=A3= EF=AC=81^\\= C2=A3=EF=AC=81^\\ ?=\r\n' ) ;
296+ expect ( msg . match ( / \b S u b j e c t : [ ^ \r ] * \r \n ( [ ^ \r ] * \r \n ) * / ) [ 0 ] ) . to . equal ( 'Subject: =?UTF-8?Q?=CB=86=C2=B8=C3=81=C3=8C=C3=93=C4=B1?=\r\n =?UTF-8?Q?=C3=8F=CB=87=C3=81=C3=9B=5E= C2=B8=5C ?=\r\n =?UTF-8?Q?=C3=81= C4=B1=CB=86=C3=8C=C3=81=C3=9B?=\r\n =?UTF-8?Q?=C3=98=5E=5C= CB=9C=C3=9B=CB=9D=E2=84=A2?=\r\n =?UTF-8?Q?=CB=87=C4=B1= C3=93=C2=B8=5E=5C= CB=9C?=\r\n =?UTF-8?Q?= EF=AC=81=5E=5C= C2=B7=5C=CB=9C=C3=98=5E ?=\r\n =?UTF-8?Q?=C2=A3=CB=9C=23= EF=AC=81=5E=5C=C2=A3 ?=\r\n =?UTF-8?Q?=EF=AC=81=5E=5C= C2=A3=EF=AC=81=5E=5C ?=\r\n' ) ;
297297 } ) ;
298298
299299 it ( 'should setContent (arraybuffer)' , function ( ) {
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ require.config({
88 'emailjs-addressparser' : './node_modules/emailjs-addressparser/src/emailjs-addressparser' ,
99 'emailjs-mime-types' : './node_modules/emailjs-mime-types/src/emailjs-mime-types' ,
1010 'emailjs-mime-codec' : './node_modules/emailjs-mime-codec/src/emailjs-mime-codec' ,
11- 'punycode' : './node_modules/punycode/punycode.min ' ,
12- 'emailjs-stringencoding' : './node_modules/emailjs-stringencoding/src/emailjs-stringencoding' ,
11+ 'punycode' : './node_modules/punycode/punycode' ,
12+ 'emailjs-stringencoding' : './node_modules/emailjs-mime-codec/node_modules/emailjs- stringencoding/src/emailjs-stringencoding' ,
1313 'sinon' : './node_modules/sinon/pkg/sinon' ,
1414 } ,
1515 shim : {
You can’t perform that action at this time.
0 commit comments