Skip to content

Commit

Permalink
devolup -> develope (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam-sharma7 authored Aug 14, 2023
1 parent b55788f commit 599aade
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class QuinoaPackageManagerInstallPrependBinaryTest {
@RegisterExtension
static final QuarkusUnitTest config = QuinoaQuarkusUnitTest.create(NAME).toQuarkusUnitTest()
.overrideConfigKey("quarkus.quinoa.package-manager-install", "true")
.overrideConfigKey("quarkus.quinoa.package-manager-install.node-version", "16.17.0")
.overrideConfigKey("quarkus.quinoa.package-manager-install.node-version", "18.17.0")
.overrideConfigKey("quarkus.quinoa.package-manager-install.install-dir", INSTALL_DIR)
.overrideConfigKey("quarkus.quinoa.package-manager-command.prepend-binary", "true")
.overrideConfigKey("quarkus.quinoa.package-manager-command.build", "run build-something")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ public class QuinoaPackageManagerNPMOverrideBuildEnvTest {
@RegisterExtension
static final QuarkusUnitTest config = QuinoaQuarkusUnitTest.create(NAME).toQuarkusUnitTest()
.overrideConfigKey("quarkus.quinoa.package-manager-command.build", BUILD_COMMAND)
.overrideConfigKey("quarkus.quinoa.package-manager-command.build-env.BUILD", "devolup")
.overrideConfigKey("quarkus.quinoa.package-manager-command.build-env.BUILD", "develop")
.assertLogRecords(l -> assertThat(l)
.anyMatch(s -> s.getMessage().equals("Running Quinoa package manager build command: %s") &&
s.getParameters()[0].equals(BUILD_COMMAND)));

@Test
public void testQuinoa() {
assertThat(Path.of("target/quinoa-build/index.html")).isRegularFile()
.hasContent("devolup");
.hasContent("develop");
assertThat(getWebUITestDirPath(NAME).resolve("node_modules/installed")).isRegularFile()
.hasContent("hello");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

public class QuinoaPackageManagerNPMOverrideEnvTest {
private static final String NAME = "package-manager-npm-override-env";
private static final String MODE = "devolup";
private static final String MODE = "develop";

@RegisterExtension
static final QuarkusUnitTest config = QuinoaQuarkusUnitTest.create(NAME).toQuarkusUnitTest()
Expand Down

0 comments on commit 599aade

Please sign in to comment.