Skip to content

Commit

Permalink
Update packages/xstate-react/test/useMachine.test.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
  • Loading branch information
davidkpiano and Andarist committed Dec 15, 2021
1 parent 79b7594 commit b00e065
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/xstate-react/test/useMachine.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,16 +292,6 @@ describe('useMachine hook', () => {
user?: { name: string };
}

// type TestState =
// | {
// value: 'loading';
// context: { count: number; user: undefined };
// }
// | {
// value: 'loaded';
// context: { user: { name: string } };
// };

const machine = createMachine<TestContext, any>({
initial: 'loading',
states: {
Expand Down

0 comments on commit b00e065

Please sign in to comment.