Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: run e2e tests #327

Merged
merged 11 commits into from
Sep 19, 2024
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/base/limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export default function limit(limit) {
count++
if (count <= limit) {
yield chunk
} else {
break
tpluscode marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions test/e2e/definitions/limit-offset.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@
[ base:streamValues ( "{ age: 34 }"^^code:EcmaScript "{ age: 23 }"^^code:EcmaScript "{ age: 10 }"^^code:EcmaScript) ]
[ base:offset (1) ]
[ base:limit (1) ]
# pipeline stalls if limit is last step
[
base:map( "value => value"^^code:EcmaScript )
]
)
] .
Loading