Skip to content

Commit 8d64b43

Browse files
committed
test(naming.presets): fix path to presets
1 parent 0e25473 commit 8d64b43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/naming.presets/test/cell.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const BemEntityName = require('@bem/sdk.entity-name');
77

88
const createStringify = require('@bem/sdk.naming.cell.stringify');
99

10-
const presets = require('..');
10+
const presets = require('../lib');
1111

1212
const createPreset = (name, fsConv, conv) => {
1313
const res = Object.assign({}, presets[name], conv);
@@ -22,8 +22,8 @@ describe('default', () => {
2222
const originNested = createStringify(presets.origin);
2323
const reactFlat = createStringify(createPreset('react', { scheme: 'flat' }));
2424
const reactNested = createStringify(presets.react);
25-
const twoFlat = createStringify(createPreset('two-dashes', { scheme: 'flat' }));
26-
const twoNested = createStringify(presets['two-dashes']);
25+
const twoFlat = createStringify(createPreset('twoDashes', { scheme: 'flat' }));
26+
const twoNested = createStringify(presets['twoDashes']);
2727

2828
it('should return path + tech', () => {
2929
expect(originNested(

0 commit comments

Comments
 (0)