Commit Graph

7 Commits

Author SHA1 Message Date
Kræn Hansen d62da34ef0 Renamed the unit tests file 2017-08-15 11:53:18 +02:00
Kræn Hansen ee92ba156c Moved Garbage Collection tests to the electron folder 2017-08-15 11:53:18 +02:00
Kræn Hansen bd4dbd7f6a Moved the .gitignore of realm-object-server to /tests 2017-08-15 11:53:18 +02:00
Kræn Hansen f0df9a51dd Adapted the electron tests to use the shared files more 2017-08-15 11:53:18 +02:00
Kræn Hansen e9b5c08700 Changed the interface to the shared/jasmine 2017-08-15 11:53:18 +02:00
Kræn Hansen 4d6f25f6a6 Moved back .eslintrc and moved jasmine.js to the shared folder 2017-08-15 11:53:18 +02:00
Kræn Hansen e4e1431c55 Running js tests in Electron renderer process (#1196)
* 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
2017-08-11 10:30:57 +02:00