diff options
author | Ty Dunn <ty@tydunn.com> | 2023-07-03 19:42:38 -0700 |
---|---|---|
committer | Ty Dunn <ty@tydunn.com> | 2023-07-03 19:42:38 -0700 |
commit | 524c7bd433b8bfcc96ca1d95c6fbd27ce52ccb54 (patch) | |
tree | e9a148b84074c211b75e2623a73326e31a6e5bb1 /extension/src/test | |
parent | 49de11a268d047da918ead7f0789b30145e92df1 (diff) | |
parent | ed85171a423048a2a11a7d2a911dea8c4f332324 (diff) | |
download | sncontinue-524c7bd433b8bfcc96ca1d95c6fbd27ce52ccb54.tar.gz sncontinue-524c7bd433b8bfcc96ca1d95c6fbd27ce52ccb54.tar.bz2 sncontinue-524c7bd433b8bfcc96ca1d95c6fbd27ce52ccb54.zip |
Merge branch 'main' of github.com:continuedev/continue
Diffstat (limited to 'extension/src/test')
-rw-r--r-- | extension/src/test/suite/terminalEmulator.test.ts | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/extension/src/test/suite/terminalEmulator.test.ts b/extension/src/test/suite/terminalEmulator.test.ts deleted file mode 100644 index c4c159a4..00000000 --- a/extension/src/test/suite/terminalEmulator.test.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { test, describe } from "mocha"; -import * as assert from "assert"; -import { PythonTracebackSnooper } from "../../terminal/snoopers"; - -suite("Snoopers", () => { - suite("PythonTracebackSnooper", () => { - test("should detect traceback given all at once", async () => { - let traceback = `Traceback (most recent call last): - File "/Users/natesesti/Desktop/continue/extension/examples/python/main.py", line 10, in <module> - sum(first, second) - File "/Users/natesesti/Desktop/continue/extension/examples/python/sum.py", line 2, in sum - return a + b - TypeError: unsupported operand type(s) for +: 'int' and 'str'`; - let returnedTraceback = await new Promise((resolve) => { - let callback = (data: string) => { - resolve(data); - }; - let snooper = new PythonTracebackSnooper(callback); - snooper.onData(traceback); - }); - assert( - returnedTraceback === traceback, - "Detected \n" + returnedTraceback - ); - }); - test("should detect traceback given in chunks", () => {}); - }); -}); |