Skip to content

Commit f5668b3

Browse files
committed
fix: troublesome code in actions
1 parent dc3129c commit f5668b3

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ allowBuilds:
88
keytar: true
99
node-llama-cpp: false
1010

11-
auditConfig: { ignoreGhsas: null }
11+
auditConfig: {}
1212

1313
ignoredBuiltDependencies:
1414
- protobufjs

source/components/user-input.spec.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -324,27 +324,6 @@ test('UserInput component structure is valid', t => {
324324
t.true(output!.length > 0);
325325
});
326326

327-
test('UserInput inserts a newline on Ctrl+J', async t => {
328-
const {stdin, lastFrame, unmount} = render(
329-
<TestWrapper>
330-
<UserInput />
331-
</TestWrapper>,
332-
);
333-
334-
stdin.write('a');
335-
await new Promise(resolve => setTimeout(resolve, 20));
336-
stdin.write('\n');
337-
await new Promise(resolve => setTimeout(resolve, 20));
338-
stdin.write('b');
339-
await new Promise(resolve => setTimeout(resolve, 20));
340-
341-
const output = lastFrame();
342-
t.truthy(output);
343-
t.regex(output!, /a/);
344-
t.regex(output!, /b/);
345-
unmount();
346-
});
347-
348327
test('UserInput does not treat carriage return as a multiline shortcut', async t => {
349328
const {stdin, lastFrame, unmount} = render(
350329
<TestWrapper>

0 commit comments

Comments
 (0)