feat(anatomy): curation pipeline — changeset schema, applier with before/after records, cleaned single asset, draft seed, changelog + review report generators; seed layout legacy-import/curation/draft
This commit is contained in:
1 parent
3dbbfdf1df
commit
6870d87910
58 files changed
+18167
-267
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { renderSeedSql, DOCUMENT_DOLLAR_TAG } from '../src'
|
||||
import { DOCUMENT_DOLLAR_TAG, renderDraftSeedSql } from '../src'
|
||||
import { mapAnnotation } from '../src/legacy/annotations'
|
||||
import { assertNothingDropped } from '../src/legacy/catalog'
|
||||
import { parseAnnotatedSvg } from '../src/legacy/svg'
|
||||
@@ -39,7 +39,8 @@ describe('importer guards', () => {
|
||||
it('refuses a document that contains the dollar-quote tag', async () => {
|
||||
const result = await runImport()
|
||||
const documentJson = JSON.stringify({ note: DOCUMENT_DOLLAR_TAG })
|
||||
expect(() => renderSeedSql({ result, documentJson })).toThrow(
|
||||
const params = { sheetId: result.sheetId, assets: [], changeNote: 'x' }
|
||||
expect(() => renderDraftSeedSql({ ...params, documentJson })).toThrow(
|
||||
DOCUMENT_DOLLAR_TAG,
|
||||
)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user