Skip to content

Commit

Permalink
Use cardType and referenceType to get test:fingerprint working again.
Browse files Browse the repository at this point in the history
Part of #674. Part of #673.
  • Loading branch information
jkomoros committed Nov 14, 2023
1 parent 2410ad7 commit c2d3d3e
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions test/fingerprint/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,21 @@ import {
} from '../../src/card_fields.js';

import {
CARD_TYPE_CONTENT,
CARD_TYPE_WORKING_NOTES,
REFERENCE_TYPE_LINK,
REFERENCE_TYPE_ACK,
REFERENCE_TYPE_DUPE_OF,
TEXT_FIELD_TITLE,
} from '../../src/type_constants.js';

import {
cardType,
referenceType
} from '../../src/types.js';

const REFERENCE_TYPE_ACK = referenceType('ack');
const REFERENCE_TYPE_DUPE_OF = referenceType('dupe-of');
const REFERENCE_TYPE_LINK = referenceType('link');

const CARD_TYPE_WORKING_NOTES = cardType('working-notes');
const CARD_TYPE_CONTENT = cardType('content');

import assert from 'assert';

const CARD_ID_ONE = 'one';
Expand Down

0 comments on commit c2d3d3e

Please sign in to comment.