Move private APIs to private namespace

Fixes #2078
This commit is contained in:
Steve Gravrock
2025-09-27 13:21:09 -07:00
parent fbec066837
commit 168ff0a751
183 changed files with 2627 additions and 2459 deletions

View File

@@ -14,7 +14,7 @@ getJasmineRequireObj().ExceptionFormatter = function(j$) {
function ExceptionFormatter(options) {
const jasmineFile =
(options && options.jasmineFile) || j$.util.jasmineFile();
(options && options.jasmineFile) || j$.private.util.jasmineFile();
this.message = function(error) {
let message = '';
@@ -58,7 +58,7 @@ getJasmineRequireObj().ExceptionFormatter = function(j$) {
lines.pop();
}
const stackTrace = new j$.StackTrace(error);
const stackTrace = new j$.private.StackTrace(error);
lines = lines.concat(filterJasmine(stackTrace));
if (messageHandling === 'require') {
@@ -111,7 +111,9 @@ getJasmineRequireObj().ExceptionFormatter = function(j$) {
}
if (!empty) {
return 'error properties: ' + j$.basicPrettyPrinter_(result) + '\n';
return (
'error properties: ' + j$.private.basicPrettyPrinter(result) + '\n'
);
}
return '';