diff --git a/test-it/karma/javascriptinvoke/InternalFunction.Test.js b/test-it/karma/javascriptinvoke/InternalFunction.Test.js index 953f86819..d5b0a55b0 100644 --- a/test-it/karma/javascriptinvoke/InternalFunction.Test.js +++ b/test-it/karma/javascriptinvoke/InternalFunction.Test.js @@ -62,7 +62,7 @@ describe('A JavaScript function invoke', function () { expect(viPathParser('error2.status')).toBeTrue(); expect(viPathParser('error2.code')).toBe(777); expect(viPathParser('error2.source')).toContain('this is the error message'); - expect(viPathParser('error2.source')).toContain('in MyVI'); + expect(viPathParser('error2.source')).toContain('NI_InternalFunctionSetsError'); expect(viPathParser('returnValue2')).toBe(12); done(); });