Skip to content

Commit 943e797

Browse files
committed
fix(moment): remove console.log from canonical model test and update import path
1 parent 264018b commit 943e797

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

calm-models/src/model/moment.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ describe('CalmMoment', () => {
6161

6262
it('should produce the correct canonical model (minimal)', () => {
6363
const moment = CalmMoment.fromSchema(minimalSchema);
64-
console.log(moment);
6564
expect(moment.toCanonicalSchema()).toEqual({
6665
'unique-id': 'moment-1',
6766
'node-type': 'moment',

calm-models/src/model/moment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CalmNodeDetails } from './node.js';
44
import { CalmMomentSchema } from '../types';
55
import { CalmAdaptable } from './adaptable.js';
66
import { CalmMomentCanonicalModel } from '../canonical/template-models.js';
7-
import { CalmNode } from './node';
7+
import { CalmNode } from './node.js';
88

99
export class CalmMoment extends CalmNode implements CalmAdaptable<CalmMomentSchema, CalmMomentCanonicalModel> {
1010
constructor(

0 commit comments

Comments
 (0)