Commit graph

13 commits

Author SHA1 Message Date
Simon Hausmann
c188851b45 Fix nodejs tests on Windows
npm is in fact `npm.cmd` and Rust's std::process::Command doesn't look
for executables with .cmd extension. This is a common issue but also a deliberate choice
it appears (due to emulating CreateProcess).
2020-10-20 16:30:16 +02:00
Simon Hausmann
279ce560f9 Convert NodeJS API to use & export TypeScript
This will make the types available to API consumers and makes the
documentation clearer.
2020-10-20 15:57:50 +02:00
Olivier Goffart
9c32de9fac Attempt to pass the right options to MSVC 2020-09-05 22:40:40 +02:00
Olivier Goffart
103e5659e4 More escaping for slashes in path 2020-09-05 19:56:56 +02:00
Olivier Goffart
58cdaeb8dd Update license header to mention that commertial option are available 2020-08-26 13:23:42 +02:00
Simon Hausmann
66dce1a1bc Don't build the nodejs API when running tests
Assume that it is already build and pick up the library in the same directory where we pick
up the C++ libraries.
2020-08-25 14:01:57 +02:00
Simon Hausmann
2823f32692 Apply license headers to all non-binary/non-json sources 2020-08-17 17:55:20 +02:00
Olivier Goffart
05c5f7c53d Test and fix animations on properties
The animation should not start when the property is initialized, only when the
property is set by the setter
2020-07-23 11:45:34 +02:00
Simon Hausmann
cb081a6bda Test that loading types from the include path works
This uses the recently added "hooks" or APIs to pass an include path that's specified in the test case itself.
2020-07-19 18:31:10 +02:00
Olivier Goffart
89ad110fc2 Test nodejs driver: print compile error on the console if there are some 2020-06-29 10:52:48 +02:00
Olivier Goffart
f35c12aef1 Fix building of the nodejs frontend for the tests 2020-06-29 10:35:18 +02:00
Olivier Goffart
b7bc884447 Run the JS test without using npm install 2020-06-09 10:25:38 +02:00
Olivier Goffart
11ac0cfad0 Test for nodejs 2020-06-08 12:24:39 +02:00