File tree Expand file tree Collapse file tree 2 files changed +830
-749
lines changed
modules/runner/src/main/ts/core Expand file tree Collapse file tree 2 files changed +830
-749
lines changed Original file line number Diff line number Diff line change 11import { Suite , Test } from '@ephox/bedrock-common' ;
2- import sourceMappedStackTrace from 'sourcemapped-stacktrace' ;
2+ import * as SourceMappedStackTrace from 'sourcemapped-stacktrace' ;
33
44// eslint-disable-next-line @typescript-eslint/no-empty-function
55export const noop = ( ) : void => { } ;
@@ -46,7 +46,7 @@ export const mapStackTrace = (stack: string | undefined): Promise<string> => new
4646 // If the stack trace format can't be found then an Error will be thrown.
4747 // In that case lets just return the original stack instead.
4848 try {
49- sourceMappedStackTrace . mapStackTrace ( stack , ( stack : string [ ] ) => resolve ( stack . join ( '\n' ) ) ) ;
49+ SourceMappedStackTrace . mapStackTrace ( stack , ( stack : string [ ] ) => resolve ( stack . join ( '\n' ) ) ) ;
5050 } catch ( e ) {
5151 resolve ( stack ) ;
5252 }
You can’t perform that action at this time.
0 commit comments