import test from 'node:test';
import assert from 'node:assert/strict';
test('AtomScope accepts team and atom carries teamId', () => {
    const scope = 'team';
    const input = {
        project: 'demo', claim: 'Use Conventional Commits', type: 'convention',
        evidence: [], trigger: {}, producedBy: 'user', scope, teamId: 'default',
    };
    assert.equal(input.scope, 'team');
    assert.equal(input.teamId, 'default');
    const atom = { scope, teamId: 'default' };
    assert.equal(atom.teamId, 'default');
    const opts = { limit: 10, scope: 'team', teamId: 'default' };
    assert.equal(opts.teamId, 'default');
});
