Skip to content

Commit

Permalink
* removed @levelbreaded/ink-testing library (#31)
Browse files Browse the repository at this point in the history
* upgraded to newest ink-testing-library
* refactored references
  • Loading branch information
aadiraju authored Oct 12, 2024
1 parent 1ff4f49 commit 856c805
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 19 deletions.
32 changes: 18 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"simple-git": "^3.24.0"
},
"devDependencies": {
"@levelbreaded/ink-testing-library": "^3.1.0",
"ink-testing-library": "^4.0.0",
"@sindresorhus/tsconfig": "^3.0.1",
"@types/node": "^20.12.8",
"@types/react": "^18.0.32",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/branch/new.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Text } from 'ink';
import { delay } from '../../utils/time.js';
import { describe, expect, it, vi } from 'vitest';
import { render } from '@levelbreaded/ink-testing-library';
import { render } from 'ink-testing-library';
import { safeBranchNameFromCommitMessage } from '../../utils/naming.js';

const ARBITRARY_DELAY = 120; // ms
Expand Down
2 changes: 1 addition & 1 deletion src/commands/changes/add.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Text } from 'ink';
import { delay } from '../../utils/time.js';
import { describe, expect, it, vi } from 'vitest';
import { render } from '@levelbreaded/ink-testing-library';
import { render } from 'ink-testing-library';

const ARBITRARY_DELAY = 120; // ms

Expand Down
2 changes: 1 addition & 1 deletion src/commands/changes/commit.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Text } from 'ink';
import { delay } from '../../utils/time.js';
import { describe, expect, it, vi } from 'vitest';
import { render } from '@levelbreaded/ink-testing-library';
import { render } from 'ink-testing-library';

const ARBITRARY_DELAY = 120; // ms

Expand Down
2 changes: 1 addition & 1 deletion src/commands/hop.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import SelectInput from 'ink-select-input';
import { KEYS } from '../utils/test-helpers.js';
import { delay } from '../utils/time.js';
import { describe, expect, it, vi } from 'vitest';
import { render } from '@levelbreaded/ink-testing-library';
import { render } from 'ink-testing-library';

const mocks = vi.hoisted(() => {
return {
Expand Down

0 comments on commit 856c805

Please sign in to comment.