blob: 9ae9bf8bfe7c2b04e25e776c54c9c8b8eab86bf3 [file] [log] [blame] [edit]
/* This file is a part of @mdn/browser-compat-data
* See LICENSE file for more information. */
import assert from 'node:assert/strict';
import { CompatStatement } from './types/types.js';
import bcd from './index.js';
describe('Using BCD', () => {
it('subscript notation', () => {
const data: CompatStatement | undefined =
bcd['api']['AbortController']['__compat'];
assert.ok(data);
});
it('dot notation', () => {
const data: CompatStatement | undefined = bcd.api.AbortController.__compat;
assert.ok(data);
});
});