mirror of
https://github.com/nestriness/nestri.git
synced 2026-09-23 19:18:18 +03:00
style: apply the formatter across the tree
The formatter had never been run over these files, so `oxfmt` on a couple of touched files rewrote two dozen others and buried the real change. Running it everywhere once makes the next diff mean something. No behaviour changes: import ordering, line joining, and reindented JSON in the generated migration snapshots. Both test suites and both typechecks give the same answers as before, including the two type errors this does not fix.
This commit is contained in:
@@ -4,8 +4,8 @@ import { Actor } from '../actor.js';
|
||||
import { Fixtures } from '../db/fixtures.js';
|
||||
import { testDb } from '../db/test.js';
|
||||
import { Identifier } from '../id.js';
|
||||
import { Member } from './member.js';
|
||||
import { Team } from './index.js';
|
||||
import { Member } from './member.js';
|
||||
|
||||
const sql = testDb();
|
||||
|
||||
@@ -44,7 +44,10 @@ describe('Team.ensurePersonal', () => {
|
||||
// the user is created — that is what backfills accounts made before the
|
||||
// call existed. A second call must not mint a second team.
|
||||
const again = await Actor.with(
|
||||
{ type: 'user', properties: { userID: owner.userId, linkedAccountID: owner.linkedAccountId } },
|
||||
{
|
||||
type: 'user',
|
||||
properties: { userID: owner.userId, linkedAccountID: owner.linkedAccountId }
|
||||
},
|
||||
() => Team.ensurePersonal({ displayName: 'team-idempotent' })
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user