CSR-886: release first unit test

This commit is contained in:
Adam Caouette 2023-03-15 10:22:01 -04:00
parent baa2b44cb4
commit 24aecae149

View file

@ -5,20 +5,20 @@ import { shallowMount } from "@vue/test-utils";
import { getMountOptions } from "@/helpers/unit-test-helper.js";
describe("date-picker.vue", () => {
// describe("initial setup", () => {
// test("Creates a date object from today", () => {
// // Arrange
// const { wrapper } = setupMocks({});
describe("initial setup", () => {
test("Creates a date object from today", () => {
// Arrange
const { wrapper } = setupMocks({});
// // Act
// const testResult = wrapper.vm.todayDateObj instanceof Date;
// Act
const testResult = wrapper.vm.todayDate instanceof Date;
// // Assert
// expect(testResult).toEqual(true);
// Assert
expect(testResult).toEqual(true);
// wrapper.unmount();
// });
// });
wrapper.unmount();
});
});
// describe("formatNumberToSetDigits", () => {
// const testScenarios = [
// [0, 3, "000"],