CSR-886: release first unit test
This commit is contained in:
parent
baa2b44cb4
commit
24aecae149
1 changed files with 11 additions and 11 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue