Added window js wrapper for napi (#3544)

* Added window js wrapper for napi

* Remove position tests.

* Update api/napi/src/types/size.rs

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>

* Code review fixes

---------

Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
This commit is contained in:
Florian Blasius 2023-09-29 08:29:36 +02:00 committed by GitHub
parent 8ba6fac21f
commit d43f5fe99a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 274 additions and 5 deletions

View file

@ -3,7 +3,7 @@
import test from 'ava'
import { ComponentCompiler, ComponentDefinition, ComponentInstance, Property, ValueType } from '../index'
import { ComponentCompiler, ComponentDefinition, ComponentInstance, ValueType} from '../index'
test('get/set include paths', (t) => {
let compiler = new ComponentCompiler;
@ -236,4 +236,4 @@ test('non-existent properties and callbacks', (t) => {
});
t.is(callback_err!.code, 'GenericFailure');
t.is(callback_err!.message, 'Callback non-existent-callback not found in the component');
})
})