Skip to content

Commit

Permalink
chore(test): separated directory creation from builder statement
Browse files Browse the repository at this point in the history
Signed-off-by: l3002 <tanmaymathpal4545@gmail.com>
  • Loading branch information
l3002 committed Feb 16, 2024
1 parent d586c95 commit e901070
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,13 @@ void setUp(@TempDir Path tempDir) throws IOException {
.postExec("ls -lt /deployments")
.build())
.build();
Path path = Files.createDirectory(tempDir.resolve("target"));
watchContext = WatchContext.builder()
.buildContext(JKubeConfiguration.builder()
.project(JavaProject.builder()
.baseDirectory(tempDir.toFile())
.build())
.outputDirectory(Files.createDirectory(tempDir.resolve("target")).toFile().getName())
.outputDirectory(path.toFile().getName())
.build())
.build();
}
Expand Down

0 comments on commit e901070

Please sign in to comment.