⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import { documentToolbarPosition } from './DocumentEditorCanvas';
describe('DocumentEditorCanvas toolbar position', () => {
it('pins the toolbar inside the editor scroll container', () => {
assert.equal(documentToolbarPosition(true), 'sticky top-0');
});
it('keeps the toolbar in the document flow when disabled', () => {
assert.equal(documentToolbarPosition(false), 'relative');
});
});