Skip to content
File

Blob: src/workerd/api/tests/rtti-test.js

javascript14 lines
1// Copyright (c) 2023 Cloudflare, Inc.
2// Licensed under the Apache 2.0 license found in the LICENSE file or at:
3// https://opensource.org/licenses/Apache-2.0
4 
5import assert from 'node:assert';
6import rtti from 'workerd:rtti';
7 
8export default {
9 async test(ctrl, env, ctx) {
10 const buffer = rtti.exportTypes('2023-05-18', ['nodejs_compat']);
11 assert(buffer.byteLength > 0);
12 },
13};