@@ -262,10 +262,7 @@ describe("sourcemaps", function() {
262262 if ( result . error ) throw result . error ;
263263 assertCodeWithInlineMapEquals ( result . code , read ( "./test/input/issue-505/output.js" ) ) ;
264264 } ) ;
265- // TODO skipped for 2 reasons:
266- // - atob/btoa fail with unicode characters
267- // - names output has changed and excludes unicode names
268- it . skip ( "Should work with unicode characters" , async function ( ) {
265+ it . only ( "Should work with unicode characters" , async function ( ) {
269266 var code = [
270267 "var tëst = '→unicøde←';" ,
271268 "alert(tëst);" ,
@@ -292,8 +289,9 @@ describe("sourcemaps", function() {
292289 } ) ;
293290 if ( result . error ) throw result . error ;
294291 map = JSON . parse ( result . map ) ;
295- assert . strictEqual ( map . names . length , 2 ) ;
296- assert . strictEqual ( map . names [ 0 ] , "tëst" ) ;
292+ assert . strictEqual ( map . names . length , 1 ) ;
293+ // We don't add non-ascii-identifier names
294+ // assert.strictEqual(map.names[0], "tëst");
297295 assert . strictEqual ( map . names [ 0 ] , "alert" ) ;
298296 } ) ;
299297 it ( "Should append source map to file when asObject is present" , async function ( ) {
0 commit comments