Files
gitea/web_src/js/webcomponents/polyfill.test.ts
admin 7a61cd3abc
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
gitea source for verification 2026-05-22
2026-05-22 16:44:59 +08:00

8 lines
180 B
TypeScript

import {weakRefClass} from './polyfills.ts';
test('polyfillWeakRef', () => {
const WeakRef = weakRefClass();
const r = new WeakRef(123);
expect(r.deref()).toEqual(123);
});