The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.
TypeScript code-editorcross-platformdapdatabase-clientdebuggerdesktop-appdeveloper-toolsgithttp-clientideintellijlsprusttauriterminal
test(smoke): switch the failing test on in the saved configuration (#1631)
l0ng-ai1b4ca3cf1f3d
diff --git a/smoke/run.test.ts b/smoke/run.test.tsindex 22dcce330..bda7b31f4 100644--- a/smoke/run.test.ts+++ b/smoke/run.test.ts@@ -200,7 +200,10 @@ async function smoke(language: string) {}// Tests, with the intentionally failing one switched on: one failure, located, the rest passed.- const { id, output } = await runToEnd(c.tests.failing(config(c.tests.config)));+ // Switched on in the saved configuration, as reruns launch the configuration as it is saved now.+ const failing = c.tests.failing(config(c.tests.config));+ useRun.setState((s) => ({ configs: s.configs.map((x) => (x.id === failing.id ? failing : x)) }));+ const { id, output } = await runToEnd(failing);const tests = runtime(id)!.tests!;const log = `\n--- output ---\n${output.slice(-80).join("\n")}`;expect(tests.counts(), log).toMatchObject({ passed: c.tests.passed, failed: 1 });