Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions integrations/test/index_web_test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* @license
* Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/

import {describe, expect, it} from 'vitest';
import * as nodeEntry from '../src/index.js';
import * as webEntry from '../src/index_web.js';

describe('index_web', () => {
it('exposes the same public surface as the node entry point', () => {
const nodeExports = Object.keys(nodeEntry).sort();
expect(nodeExports).not.toHaveLength(0);
expect(Object.keys(webEntry).sort()).toEqual(nodeExports);
});
});
Loading