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

@@ -1,7 +1,7 @@
//TODO: expectation result may make more sense as a presentation of an expectation.
getJasmineRequireObj().buildExpectationResult = function(j$) {
function buildExpectationResult(options) {
const exceptionFormatter = new j$.ExceptionFormatter();
const exceptionFormatter = new j$.private.ExceptionFormatter();
/**
* Describes the result of evaluating an expectation
@@ -24,7 +24,7 @@ getJasmineRequireObj().buildExpectationResult = function(j$) {
};
if (!result.passed) {
if (options.error && !j$.isString_(options.error)) {
if (options.error && !j$.private.isString(options.error)) {
if ('code' in options.error) {
result.code = options.error.code;
}