After upgrading to React 18 / Node 18, I had to stop using promise-hash to start using RSVP because the tests would not know how to deal with it.
TypeError: Cannot read properties of undefined (reading 'hash')
import 'promise-hash';
at node_modules/promise-hash/lib/promise-hash. js: 5:35
at Object. «anonymous» (node_modules/promise-hash/lib/promise-hash. js: 10:2)
at Object.<anonymous> (node modules/promise-hash/index.js: 1:14)
at Object.<anonymous> (sc/App.js: 8:1)
at Object.<anonymous> (sc/tests/OrderItem.test.js: 1:1)
at TestScheduler.scheduleTests (node modules/@jest/core/build/TestScheduler. js: 333:13)
runJest (node_modules/@jest/core/build/runJest.js: 404:19)