Skip to content

Commit

Permalink
refactor: remove barrel export for history utility (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwhiteley authored Feb 6, 2024
1 parent 3f12f1b commit 0a91bd0
Show file tree
Hide file tree
Showing 4 changed files with 336 additions and 337 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fireEvent, render, screen } from '@testing-library/react';
import { useSnapshot } from 'valtio';
import { describe, it } from 'vitest';

import { proxyWithHistory } from '../history-utility';
import { proxyWithHistory } from '../';

describe('proxyWithHistory: react', () => {
describe('basic', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, it } from 'vitest';

import { HistoryNode, proxyWithHistory } from '../history-utility';
import { HistoryNode, proxyWithHistory } from '../';

const mapNumbers = (node: HistoryNode<{ count: number }>) =>
node.snapshot.count;
Expand Down
334 changes: 0 additions & 334 deletions packages/history-utility/src/history-utility.ts

This file was deleted.

Loading

0 comments on commit 0a91bd0

Please sign in to comment.