openpencil/tests/engine/figma/api/internals/not-exposed.test.ts
Danila Poyarkov aad26b535e test: move prefixed splits into domain folders
- Move newly split tests under explicit domain subfolders
- Update nested helper imports after the moves
- Add a lint guard against repeating existing sibling domains as filename prefixes
2026-05-06 14:27:21 +03:00

14 lines
385 B
TypeScript

import { describe, expect, test } from 'bun:test'
import { createAPI } from '../helpers'
describe('internals not exposed', () => {
test('node has no _id, _graph, _api properties', () => {
const api = createAPI()
const frame = api.createFrame()
expect('_id' in frame).toBe(false)
expect('_graph' in frame).toBe(false)
expect('_api' in frame).toBe(false)
})
})