Add async-foreach-behavior

Adds a utility behavior to enable looping over a list with promises.
This generalizes the asynchronous loop in the file-list's multi-diff
render process so that it can be used by other components.

Change-Id: I4c4cc729aed383ffb52b29b9f1f6c9ba0c83c77d
This commit is contained in:
Wyatt Allen
2017-09-30 10:52:31 +01:00
parent e7edad143c
commit b51b4656af
5 changed files with 93 additions and 17 deletions

View File

@@ -160,6 +160,7 @@ limitations under the License.
// Behaviors tests.
const behaviors = [
'async-foreach-behavior/async-foreach-behavior_test.html',
'base-url-behavior/base-url-behavior_test.html',
'docs-url-behavior/docs-url-behavior_test.html',
'keyboard-shortcut-behavior/keyboard-shortcut-behavior_test.html',