diff --git a/addon-test-support/@ember/test-helpers/-utils.js b/addon-test-support/@ember/test-helpers/-utils.js index f565e8ead..122b7969c 100644 --- a/addon-test-support/@ember/test-helpers/-utils.js +++ b/addon-test-support/@ember/test-helpers/-utils.js @@ -1,6 +1,7 @@ import { Promise } from 'rsvp'; -export const nextTick = setTimeout; +export const nextTick = + typeof Promise === 'undefined' ? setTimeout : cb => Promise.resolve().then(cb); export const futureTick = setTimeout; /**