Skip to content
File

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

javascript15 lines
1// Copyright (c) 2024 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
4import * as assert from 'a/b/c';
5import * as assert3 from 'node:assert';
6 
7export const basics = {
8 async test() {
9 const assert2 = await import('a/b/c');
10 if (assert !== assert2 && assert !== assert3) {
11 throw new Error('bad things happened');
12 }
13 },
14};