Skip to content

Commit 1ca76d1

Browse files
chore: code format
1 parent b2d0d8e commit 1ca76d1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Diff for: babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: ["@vue/cli-plugin-babel/preset"]
2+
presets: ["@vue/cli-plugin-babel/preset"],
33
};

Diff for: jest.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
preset: "@vue/cli-plugin-unit-jest"
2+
preset: "@vue/cli-plugin-unit-jest",
33
};

Diff for: src/components/HelloWorld.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@
114114
export default {
115115
name: "HelloWorld",
116116
props: {
117-
msg: String
118-
}
117+
msg: String,
118+
},
119119
};
120120
</script>
121121

Diff for: tests/unit/example.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ describe("HelloWorld.vue", () => {
55
it("renders props.msg when passed", () => {
66
const msg = "new message";
77
const wrapper = shallowMount(HelloWorld, {
8-
propsData: { msg }
8+
propsData: { msg },
99
});
1010
expect(wrapper.text()).toMatch(msg);
1111
});

0 commit comments

Comments
 (0)