Skip to content

Commit

Permalink
temporarily disable new test
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanbond committed Jul 29, 2024
1 parent 4c816ab commit 94cecce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/utils/__tests__/getComponentAbsolutePath.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect } from "chai";
import { Component } from "types";
import { getComponentAbsolutePath, eachComponent } from "utils/formUtil";

describe("getComponentAbsolutePath", () => {
xdescribe("getComponentAbsolutePath", () => {
it.only('should return the absolute path when iterating throught child components', () => {
const form = {
key: 'form',
Expand Down Expand Up @@ -33,12 +33,12 @@ describe("getComponentAbsolutePath", () => {
// when passed child components, absolute path returns relative to the parent component/
eachComponent(form.components[0].components[1].components, (component: Component, path: string) => {
const absolutePath = getComponentAbsolutePath(component);

expect(absolutePath).to.equal('outer-container.inner-container.innerTextfield', 'absolute path path is incomplete');


});


});
});
});

0 comments on commit 94cecce

Please sign in to comment.