Skip to content

Commit 02fe561

Browse files
authored
test(cli_new): clarify test name
1 parent eb744ff commit 02fe561

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/scripts/console/new.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe('new', () => {
8787
});
8888
});
8989

90-
it('slug(2)', () => {
90+
it('slug - s', () => {
9191
const date = moment(now);
9292
const path = pathFn.join(hexo.source_dir, '_posts', 'foo.md');
9393
const body = [
@@ -126,7 +126,7 @@ describe('new', () => {
126126
});
127127
});
128128

129-
it('path (2)', () => {
129+
it('path - p', () => {
130130
const date = moment(now);
131131
const path = pathFn.join(hexo.source_dir, '_posts', 'bar.md');
132132
const body = [
@@ -185,7 +185,7 @@ describe('new', () => {
185185
}).finally(() => fs.unlink(path));
186186
});
187187

188-
it('replace existing files (2)', () => {
188+
it('replace existing files - r', () => {
189189
const date = moment(now);
190190
const path = pathFn.join(hexo.source_dir, '_posts', 'Hello-World.md');
191191
const body = [

0 commit comments

Comments
 (0)