Skip to content

Commit

Permalink
Vue: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Jul 29, 2022
1 parent f62bde0 commit 6129f76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ public JHipsterModule buildPiniaModule(JHipsterModuleProperties properties) {

private String piniaImports() {
return """
import {createPinia} from 'pinia';
import piniaPersist from 'pinia-plugin-persist'
import { createPinia } from 'pinia';
import piniaPersist from 'pinia-plugin-persist';
""";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ void shouldCreatePiniaModule() {
.containing(nodeDependency("@pinia/testing"))
.and()
.createFile("src/main/webapp/app/main.ts")
.containing("import {createPinia} from 'pinia';")
.containing("import piniaPersist from 'pinia-plugin-persist'")
.containing("import { createPinia } from 'pinia';")
.containing("import piniaPersist from 'pinia-plugin-persist';")
.containing(
"""
const pinia = createPinia();
Expand Down

0 comments on commit 6129f76

Please sign in to comment.