Skip to content

Commit

Permalink
Upgrading Realm Web integration test deps (realm#4633)
Browse files Browse the repository at this point in the history
* Upgrading Realm Web integration test deps

* Upgrading root ts-node
  • Loading branch information
kraenhansen committed Jun 8, 2022
1 parent 76b1b18 commit 55265ea
Show file tree
Hide file tree
Showing 9 changed files with 5,199 additions and 10,677 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ x.x.x Release notes (yyyy-MM-dd)

### Internal
* Upgrade Example to RN v0.68.2
* Upgrade dependencies of the Realm Web integration tests
* <Either mention core version or upgrade>
* <Using Realm Core vX.Y.Z>
* <Upgraded Realm Core from vX.Y.Z to vA.B.C>
Expand Down
134 changes: 94 additions & 40 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"semver": "^5.6.0",
"shelljs": "^0.8.5",
"shx": "^0.2.2",
"ts-node": "^10.4.0",
"ts-node": "^10.8.1",
"typescript": "^4.5.2"
},
"engines": {
Expand All @@ -160,4 +160,4 @@
5
]
}
}
}
10 changes: 10 additions & 0 deletions packages/realm-web-integration-tests/.mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extension": [
"ts",
"js"
],
"require": [
"ts-node/register/transpile-only"
],
"slow": 1000
}
6 changes: 4 additions & 2 deletions packages/realm-web-integration-tests/harness/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ export async function run(devtools = false) {
const devServer = new WebpackDevServer(compiler, {
proxy: { "/api": baseUrl },
historyApiFallback: true,
contentBase: path.join(__dirname, "../node_modules/realm-web"),
contentBasePublicPath: "/realm-web",
static: {
directory: path.join(__dirname, "../node_modules/realm-web"),
publicPath: "/realm-web",
},
});

await new Promise<void>((resolve, reject) => {
Expand Down
Loading

0 comments on commit 55265ea

Please sign in to comment.