Skip to content

Commit

Permalink
test(naming.presets): fix path to presets
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Aug 16, 2018
1 parent a383639 commit 36f1949
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/naming.presets/test/cell.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const BemEntityName = require('@bem/sdk.entity-name');

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

const presets = require('..');
const presets = require('../lib');

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

it('should return path + tech', () => {
expect(originNested(
Expand Down

0 comments on commit 36f1949

Please sign in to comment.