File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ describe('StackFrame', function() {
158158 } ) ;
159159
160160 describe ( '#toString' , function ( ) {
161- it ( 'represents empty StackFrame as "{anonymous}() "' , function ( ) {
162- expect ( new StackFrame ( ) . toString ( ) ) . toEqual ( '{anonymous}() ' ) ;
161+ it ( 'represents empty StackFrame as ":: "' , function ( ) {
162+ expect ( new StackFrame ( ) . toString ( ) ) . toEqual ( ':: ' ) ;
163163 } ) ;
164164 it ( 'represents complete StackFrame same as old stacktrace.js' , function ( ) {
165165 var unit = new StackFrame ( {
@@ -172,7 +172,7 @@ describe('StackFrame', function() {
172172 isNative : false ,
173173 source : 'SOURCE'
174174 } ) ;
175- expect ( unit . toString ( ) ) . toEqual ( 'fun(arg1,arg2)@ http://site.com/path.js:1:4567' ) ;
175+ expect ( unit . toString ( ) ) . toEqual ( 'fun ( http://site.com/path.js:1:4567) ' ) ;
176176 } ) ;
177177 } ) ;
178178} ) ;
You can’t perform that action at this time.
0 commit comments