Skip to content

Commit

Permalink
fixup! feat(tools): add conformance setup migration to migrate-conver…
Browse files Browse the repository at this point in the history
…ged-pkg generator
  • Loading branch information
Hotell committed Apr 24, 2023
1 parent 8024472 commit 3de64fd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/generators/migrate-converged-pkg/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1259,9 +1259,9 @@ describe('migrate-converged-pkg generator', () => {

describe(`update conformance setup`, () => {
const conformanceSetup = stripIndents`
import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
import type { IsConformantOptions, TestObject } from '@fluentui/react-conformance';
import griffelTests from '@fluentui/react-conformance-griffel';
import { isConformant as baseIsConformant } from '@proj/react-conformance';
import type { IsConformantOptions, TestObject } from '@proj/react-conformance';
import griffelTests from '@proj/react-conformance-griffel';
export function isConformant<TProps = {}>(
testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & { componentPath?: string },
Expand All @@ -1288,9 +1288,9 @@ describe('migrate-converged-pkg generator', () => {
await generator(tree, options);

expect(tree.read(conformanceSetupPath, 'utf-8')).toMatchInlineSnapshot(`
"import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
import type { IsConformantOptions, TestObject } from '@fluentui/react-conformance';
import griffelTests from '@fluentui/react-conformance-griffel';
"import { isConformant as baseIsConformant } from '@proj/react-conformance';
import type { IsConformantOptions, TestObject } from '@proj/react-conformance';
import griffelTests from '@proj/react-conformance-griffel';
export function isConformant<TProps = {}>(
testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & { componentPath?: string },
Expand Down

0 comments on commit 3de64fd

Please sign in to comment.