hunk.code_window:     });
     });
     describe('getShortestPaths()', () => {
       it('should return a mapping of shortest paths to all states', () => {
         const paths = getShortestPaths(lightMachine);
         assert.deepEqual(paths, {
           '"green"': {
             state: { value: 'green', context: undefined },
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:       const paths = getShortestPaths(lightMachine) as any;
         Object.keys(paths).forEach(key => {
           assert.instanceOf(paths[key].state, State);
           paths[key].state = {
             value: paths[key].state.value,
             context: paths[key].state.context
           };
         });
  
hunk.file_path: packages/xstate-graph/test/graph.test.ts
hunk.type: replace
file: # Calculator
  
  - Created by [Mukesh Soni](https://github.com/mukeshsoni)
  - Uses [React](https://reactjs.org)
  - GitHub repository: [github.com/mukeshsoni/statechart-calculator](https://github.com/mukeshsoni/statechart-calculator)
  
  <iframe src="https://codesandbox.io/embed/github/mukeshsoni/statechart-calculator/tree/master/?fontsize=14" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"></iframe>
  