Use the GL backend in the CI for node tests

In the CI we set SIXTYFPS_NO_QT=1 and this change removes the testing
backend from the nodejs tests, in order to fix #419 .
This commit is contained in:
Simon Hausmann 2021-09-06 11:45:51 +02:00 committed by Simon Hausmann
parent 8b5e29534f
commit 7da24c40c3
4 changed files with 1 additions and 15 deletions

View file

@ -547,8 +547,6 @@ register_module!(mut m, {
m.export_function("load", load)?;
m.export_function("mock_elapsed_time", mock_elapsed_time)?;
m.export_function("singleshot_timer", singleshot_timer)?;
#[cfg(feature = "testing")]
m.export_function("init_testing_backend", init_testing_backend)?;
Ok(())
});
@ -558,9 +556,3 @@ fn mock_elapsed_time(mut cx: FunctionContext) -> JsResult<JsValue> {
sixtyfps_corelib::tests::sixtyfps_mock_elapsed_time(ms as _);
Ok(JsUndefined::new().as_value(&mut cx))
}
#[cfg(feature = "testing")]
fn init_testing_backend(mut cx: FunctionContext) -> JsResult<JsValue> {
sixtyfps_rendering_backend_testing::init();
Ok(JsUndefined::new().as_value(&mut cx))
}