Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature/init hashes#19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ShMcK merged 3 commits intomasterfromfeature/init-hashes
Jun 1, 2020
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
remove 'g' from commits
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
@ShMcK
ShMcK committedJun 1, 2020
commitfa619fdf2b98eddbc45698a8d6f9ddeccee1aa12
35 changes: 18 additions & 17 deletionstests/parse.test.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -437,7 +437,7 @@ The first step
expect(result.levels[0].steps[0]).toEqual(expected.levels[0].steps[0]);
});

it("should load the full config fora step", () => {
it("should load the full config formultiple levels & steps", () => {
const md = `# Title

Description.
Expand DownExpand Up@@ -524,12 +524,13 @@ The third step
text: md,
config,
commits: {
L1S1Q: ["abcdefg1", "123456789"],
L1S1A: ["1gfedcba", "987654321"],
L1S2Q: ["2abcdefg"],
L1S2A: ["3abcdefg"],
L2S1Q: ["4abcdefg"],
L2S1A: ["5abcdefg"],
INIT: [""],
L1S1Q: ["abcdef1", "123456789"],
L1S1A: ["1fedcba", "987654321"],
L1S2Q: ["2abcdef"],
L1S2A: ["3abcdef"],
L2S1Q: ["4abcdef"],
L2S1A: ["5abcdef"],
},
});
const expected = {
Expand All@@ -547,15 +548,15 @@ The third step
id: "L1S1",
content: "The first step",
setup: {
commits: ["abcdefg1", "123456789"],
commits: ["abcdef1", "123456789"],
commands: ["npm install"],
files: ["someFile.js"],
watchers: ["someFile.js"],
filter: "someFilter",
subtasks: true,
},
solution: {
commits: ["1gfedcba", "987654321"],
commits: ["1fedcba", "987654321"],
commands: ["npm install"],
files: ["someFile.js"],
},
Expand All@@ -564,15 +565,15 @@ The third step
id: "L1S2",
content: "The second step",
setup: {
commits: ["2abcdefg"],
commits: ["2abcdef"],
commands: ["npm install"],
files: ["someFile.js"],
watchers: ["someFile.js"],
filter: "someFilter",
subtasks: true,
},
solution: {
commits: ["3abcdefg"],
commits: ["3abcdef"],
commands: ["npm install"],
files: ["someFile.js"],
},
Expand All@@ -589,15 +590,15 @@ The third step
id: "L2S1",
content: "The third step",
setup: {
commits: ["4abcdefg"],
commits: ["4abcdef"],
commands: ["npm install"],
files: ["someFile.js"],
watchers: ["someFile.js"],
filter: "someFilter",
subtasks: true,
},
solution: {
commits: ["5abcdefg"],
commits: ["5abcdef"],
commands: ["npm install"],
files: ["someFile.js"],
},
Expand DownExpand Up@@ -639,7 +640,7 @@ The first step
text: md,
config,
commits: {
L1S1Q: ["abcdefg1", "123456789"],
L1S1Q: ["abcdef1", "123456789"],
},
});
const expected = {
Expand All@@ -657,7 +658,7 @@ The first step
id: "L1S1",
content: "The first step",
setup: {
commits: ["abcdefg1", "123456789"],
commits: ["abcdef1", "123456789"],
},
},
],
Expand All@@ -684,7 +685,7 @@ Description.
},
directory: "coderoad",
setup: {
commits: ["abcdefg1"],
commits: ["abcdef1"],
commands: [],
},
},
Expand DownExpand Up@@ -721,7 +722,7 @@ Description.
},
directory: "coderoad",
setup: {
commits: ["abcdefg1"],
commits: ["abcdef1"],
commands: [],
},
},
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp