Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pmlopes committed Aug 23, 2019
1 parent 2eaa65b commit 43f745a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public void shouldCreateAnEmptyProject() {

Map scripts = (Map) json.get("scripts");
assertNotNull(scripts);
assertEquals("es4x-launcher", scripts.get("start"));
assertEquals("es4x-launcher test js:index.test.js", scripts.get("test"));
assertEquals("es4x", scripts.get("start"));
assertEquals("es4x test index.test.js", scripts.get("test"));
assertEquals("es4x install", scripts.get("postinstall"));
}

Expand All @@ -54,8 +54,8 @@ public void shouldUpdateAnExisting() {

Map scripts = (Map) json.get("scripts");
assertNotNull(scripts);
assertEquals("es4x-launcher", scripts.get("start"));
assertEquals("es4x-launcher test js:index.test.js", scripts.get("test"));
assertEquals("es4x", scripts.get("start"));
assertEquals("es4x test index.test.js", scripts.get("test"));
assertEquals("es4x install", scripts.get("postinstall"));
}
}

0 comments on commit 43f745a

Please sign in to comment.