Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion gren.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"FileSystem.Path",
"HttpClient",
"HttpServer",
"HttpServer.Response"
"HttpServer.Response",
"WebSocketServer",
"WebSocketServer.Connection"
],
"gren-version": "0.6.0 <= v < 0.7.0",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/child-process/gren.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"source-directories": [
"src"
],
"gren-version": "0.6.2",
"gren-version": "0.6.3",
"dependencies": {
"direct": {
"gren-lang/core": "7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/http-client/gren.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"source-directories": [
"src"
],
"gren-version": "0.6.2",
"gren-version": "0.6.3",
"dependencies": {
"direct": {
"blaix/gren-effectful-tests": "5.0.2",
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion integration-tests/http-server/gren.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"source-directories": [
"src"
],
"gren-version": "0.6.2",
"gren-version": "0.6.3",
"dependencies": {
"direct": {
"gren-lang/core": "7.0.0",
Expand Down
5 changes: 5 additions & 0 deletions integration-tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ echo -e "Running child-process tests...\n\n"
pushd child-process
make test || exit 1
popd

echo -e "Running websocket tests...\n\n"
pushd websocket
make test || exit 1
popd
2 changes: 1 addition & 1 deletion integration-tests/signals/gren.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"source-directories": [
"src"
],
"gren-version": "0.6.2",
"gren-version": "0.6.3",
"dependencies": {
"direct": {
"gren-lang/core": "7.0.0",
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/websocket/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.gren/
app
node_modules/
/test-results/
/playwright-report/
/playwright/.cache/
15 changes: 15 additions & 0 deletions integration-tests/websocket/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
app: Makefile gren.json src/Main.gren
gren make --optimize Main --output=app

.PHONY: test
test: app node_modules
npm test

node_modules: package.json package-lock.json
npm ci

.PHONY: clean
clean:
rm -rf .gren
rm -rf node_modules
rm -f app
17 changes: 17 additions & 0 deletions integration-tests/websocket/gren.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "application",
"platform": "node",
"source-directories": [
"src"
],
"gren-version": "0.6.3",
"dependencies": {
"direct": {
"gren-lang/core": "7.0.0",
"gren-lang/node": "local:../.."
},
"indirect": {
"gren-lang/url": "6.0.0"
}
}
}
Binary file not shown.
Binary file not shown.
Loading
Loading