summaryrefslogtreecommitdiff
path: root/test_napi/properties_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test_napi/properties_test.js')
-rw-r--r--test_napi/properties_test.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/test_napi/properties_test.js b/test_napi/properties_test.js
index 78268ba15..36ede1033 100644
--- a/test_napi/properties_test.js
+++ b/test_napi/properties_test.js
@@ -5,11 +5,14 @@ import { assertEquals, loadTestLibrary } from "./common.js";
const properties = loadTestLibrary();
Deno.test("napi properties", () => {
- properties.test_property_rw = 1;
assertEquals(properties.test_property_rw, 1);
properties.test_property_rw = 2;
assertEquals(properties.test_property_rw, 2);
- // assertEquals(properties.test_property_r, 2);
- // assertRejects(() => properties.test_property_r = 3);
+ assertEquals(properties.test_property_r, 1);
+
+ // https://github.com/denoland/deno/issues/17509
+ assertEquals(properties.test_simple_property, {
+ nice: 69,
+ });
});