Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy committed Jun 21, 2024
1 parent aaa6376 commit e568d47
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class WebBundlerDevModeTest {
.addAsResource("application.properties"));

@Test
public void test() {
public void test() throws InterruptedException {
RestAssured.given()
.get("/foo/bar/")
.then()
Expand All @@ -45,6 +45,7 @@ public void test() {
.body(Matchers.containsString("console.log(\"Hello World! Modified!\");"));
test.modifyResourceFile("web/app/app.css", s -> s.replace("background-color: #6b6bf5;", "background-color: #123456;"));
test.modifyResourceFile("web/app/other.scss", s -> s.replace("color: #AAAAAA;", "color: #567890;"));
Thread.sleep(500);
RestAssured.given()
.get("/foo/bar/static/bundle/main.css")
.then()
Expand Down

0 comments on commit e568d47

Please sign in to comment.