# The Ember Run Loop and Asynchronous Testing

DevFeed: [The Ember Run Loop and Asynchronous Testing](<https://devfeed.tech/articles/the-ember-run-loop-and-asynchronous-testing-15911.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/the-ember-run-loop-and-asynchronous-testing>)

Author: Ariel Jackson

Published: 2017-09-12T22:10:18Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Ember](<https://devfeed.tech/topics/ember.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [Framework](<https://devfeed.tech/topics/framework.md>)

Tags: [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [framework](<https://devfeed.tech/tags/framework.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [timeout](<https://devfeed.tech/tags/timeout.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

## AI overview

This tutorial explains how Ember's Run Loop handles asynchronous work and why that behavior can cause acceptance tests to hang or time out. It uses a Square Seller Dashboard example involving periodic state monitoring and discusses how understanding the Run Loop helps diagnose unexpected testing errors and side effects.

## Source excerpt

You can't run away from the Run Loop