mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-09 05:52:24 +00:00
e4e1431c55
* First take on running the tests inside an Electron render process * Making progress * Making it possible to override the location of the admin token * Ignoreing the realm-object-server files * Fixing a console.log to return a string instead of a boolean But it should probably be removed entirely * Making the downloaded ROS log less * Adjusting comments in the test.sh * Checking number of windows to determine an Electron crash * Added a test that triggers garbage collection of ArrayBuffers * Enabled the ability to run the tests in Electrons main process * Run tests first in main process and the render * Added a README.md that documents how Electron tests can be run * Added a comment on why the garbage-collection test was added. * Waiting with reading the admin token, until it is actually used * Disabling the GarbageCollectionTests for now
21 lines
592 B
JSON
21 lines
592 B
JSON
{
|
|
"name": "realm-js-electron-tests",
|
|
"private": true,
|
|
"description": "Test harness running the Realm JS tests in the Electron renderer process.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"prepublish": "electron-rebuild -t dev",
|
|
"start": "electron ./app/main.js",
|
|
"test": "node ./runner.js"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^1.6.11",
|
|
"electron-rebuild": "^1.6.0",
|
|
"jasmine": "../node_modules/jasmine",
|
|
"jasmine-console-reporter": "../node_modules/jasmine-console-reporter",
|
|
"realm": "../..",
|
|
"realm-tests": "../js",
|
|
"spectron": "^3.7.2"
|
|
}
|
|
}
|