Skip to content

Commit b6693a0

Browse files
kraenhansenclaudelegendecas
authored andcommitted
feat: port test_constructor to CTS (#29)
Exercises napi_define_class with method, data value, accessor, and static property descriptors. Includes null-argument tests for napi_define_class via test_null.c/test_null.js. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
1 parent 4d14c81 commit b6693a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PORTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Tests covering the engine-specific part of Node-API, defined in `js_native_api.h
5252
| `test_cannot_run_js` | Not ported | Medium |
5353
| `test_constructor` | Ported ✅ | Medium |
5454
| `test_conversions` | Ported ✅ | Medium |
55+
| `test_constructor` | Ported ✅ | Medium |
56+
| `test_conversions` | Not ported | Medium |
5557
| `test_dataview` | Not ported | Medium |
5658
| `test_date` | Ported ✅ | Easy |
5759
| `test_error` | Ported ✅ | Medium |

0 commit comments

Comments
 (0)