Skip to content

Commit 021bdf6

Browse files
committed
test: for issue #273
1 parent b980d9b commit 021bdf6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

test/test-cfg-resolve.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ test('should return config with key config', async t => {
4343
t.deepEqual(config, expected);
4444
});
4545

46+
test('should return resolve parth to config from key config', async t => {
47+
const flags = {
48+
config: 'config/.config'
49+
};
50+
const config = await cfgResolve(flags);
51+
const expected = {'posthtml-bem': {}};
52+
53+
t.deepEqual(config, expected);
54+
});
55+
4656
test('should return config with key config and use key', async t => {
4757
const flags = {
4858
use: 'posthtml-assets',

0 commit comments

Comments
 (0)