Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sundowndev
GitHub Repository: sundowndev/phoneinfoga
Path: blob/master/web/client/tests/unit/config.spec.ts
994 views
1
// import { shallowMount } from "@vue/test-utils";
2
// import HelloWorld from "@/components/HelloWorld.vue";
3
import config from "../../src/config";
4
5
describe("HelloWorld.vue", () => {
6
it("renders props.msg when passed", () => {
7
// const msg = "new message";
8
// const wrapper = shallowMount(HelloWorld, {
9
// propsData: { msg }
10
// });
11
expect(config.appName).toBe("PhoneInfoga");
12
expect(config.appDescription).toBe(
13
"Advanced information gathering & OSINT tool for phone numbers"
14
);
15
expect(config.apiUrl).toBe("/api");
16
});
17
});
18
19