Skip to content

Commit ad79bd9

Browse files
committed
chore: rebuilt conversions and updated tests
1 parent 8c29bfd commit ad79bd9

File tree

4 files changed

+8
-21
lines changed

4 files changed

+8
-21
lines changed

packages/conversions/esm/Template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ import {
6969
import * as CVTemplatePart from './TemplatePart.js';
7070
import * as CVTemplateParts from './TemplateParts.js';
7171
import * as CVTemplatePlaceholder from './TemplatePlaceholder.js';
72-
import { CVTemplateSeparator } from './index.js';
72+
import * as CVTemplateSeparator from './TemplateSeparator.js';
7373

7474
/**
7575
* Module tag

packages/conversions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"scripts": {},
4040
"devDependencies": {},
4141
"peerDependencies": {
42-
"@parischap/effect-lib": "^0.6.0",
42+
"@parischap/effect-lib": "^0.7.0",
4343
"effect": "^3.17.13"
4444
},
4545
"publishConfig": {},

packages/conversions/tests/TemplateSeparator.test.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,17 @@ describe('CVTemplateSeparator', () => {
3333
});
3434

3535
describe('Parsing', () => {
36-
const parser = separator.parser(1);
36+
const parser = CVTemplateSeparator.toParser(separator);
3737
it('Not starting by value', () => {
3838
TEUtils.assertLeftMessage(
39-
parser(''),
39+
parser(1, ''),
4040
"Expected remaining text for separator at position 1 to start with 'foo'. Actual: ''"
4141
);
42-
TEUtils.assertLeft(parser('fo1 and bar'));
42+
TEUtils.assertLeft(parser(1, 'fo1 and bar'));
4343
});
4444

4545
it('Passing', () => {
46-
TEUtils.assertRight(parser('foo and bar'), ' and bar');
46+
TEUtils.assertRight(parser(1, 'foo and bar'), ' and bar');
4747
});
4848
});
49-
50-
it('Formatting', () => {
51-
TEUtils.strictEqual(separator.formatter(), 'foo');
52-
});
5349
});

pnpm-lock.yaml

Lines changed: 2 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)