mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
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:
parent
8ba6fac21f
commit
d43f5fe99a
9 changed files with 274 additions and 5 deletions
|
@ -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');
|
||||
})
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue