CASH-1184
fixed unit tests and changed px to rem
This commit is contained in:
parent
c2b67bbf75
commit
5d8d74a56e
2 changed files with 9 additions and 9 deletions
|
|
@ -67,7 +67,7 @@ beforeEach(() => {
|
||||||
describe("mobile-details.vue", () => {
|
describe("mobile-details.vue", () => {
|
||||||
test("if the continue button is clicked, navigate forward", async () => {
|
test("if the continue button is clicked, navigate forward", async () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const { wrapper } = setupMocks(mobileDetails, {
|
const { wrapper } = setupMocks({
|
||||||
mixins: [mockMixin],
|
mixins: [mockMixin],
|
||||||
attachTo: document.body,
|
attachTo: document.body,
|
||||||
});
|
});
|
||||||
|
|
@ -91,7 +91,7 @@ describe("mobile-details.vue", () => {
|
||||||
});
|
});
|
||||||
test("arePagePrerequisitesValid should be true ", async () => {
|
test("arePagePrerequisitesValid should be true ", async () => {
|
||||||
//Arrange
|
//Arrange
|
||||||
const { wrapper } = setupMocks(mobileDetails, {
|
const { wrapper } = setupMocks({
|
||||||
mixins: [mockMixin],
|
mixins: [mockMixin],
|
||||||
attachTo: document.body,
|
attachTo: document.body,
|
||||||
});
|
});
|
||||||
|
|
@ -105,7 +105,7 @@ describe("mobile-details.vue", () => {
|
||||||
|
|
||||||
test("if the back button is clicked, navigate back", async () => {
|
test("if the back button is clicked, navigate back", async () => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const { wrapper } = setupMocks(mobileDetails, {
|
const { wrapper } = setupMocks({
|
||||||
mixins: [mockMixin],
|
mixins: [mockMixin],
|
||||||
attachTo: document.body,
|
attachTo: document.body,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -213,7 +213,7 @@ export default {
|
||||||
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
|
font-family: UrbanistSemibold, Arial, Helvetica, sans-serif;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: $black;
|
color: $black;
|
||||||
line-height: 26px;
|
line-height: 1.625rem;
|
||||||
letter-spacing: 0.03rem;
|
letter-spacing: 0.03rem;
|
||||||
}
|
}
|
||||||
.keys-message {
|
.keys-message {
|
||||||
|
|
@ -223,11 +223,11 @@ export default {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 8px 16px 8px 16px;
|
padding: 0.5rem 1rem 0.5rem 1rem;
|
||||||
min-height: 58.5px;
|
min-height: 3.656rem;
|
||||||
line-height: 26px;
|
line-height: 1.625rem;
|
||||||
margin-top: 20px;
|
margin-top: 1.25rem;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 1.25rem;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue