UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

13 lines (9 loc) 227 B
export default { "Basics" (test, { Observable }) { let list = []; return Observable.from([1, 2, 3]) .map(x => x * 2) .forEach(x => list.push(x)) .then(() => test.equals(list, [2, 4, 6])); }, };