mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
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:
parent
8b5e29534f
commit
7da24c40c3
4 changed files with 1 additions and 15 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue