We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 111f791 commit 520a3b4Copy full SHA for 520a3b4
packages/tests/integration-tests/timeout.test.ts
@@ -68,6 +68,21 @@ loop();
68
});
69
70
describe("Python Test Runner", () => {
71
+ beforeAll(async () => {
72
+ // It's helpful to initialize the test runner ahead of time since it's
73
+ // quite a slow process. Otherwise we have to remember to give the first
74
+ // test a longer timeout.
75
+ await page.evaluate(async () => {
76
+ await window.FCCTestRunner.createTestRunner({
77
+ type: "python",
78
+ code: {
79
+ contents: "",
80
+ },
81
+ source: "",
82
+ });
83
84
85
+
86
it("should return errors if the test does not terminate", async () => {
87
const source = `
88
def loop():
0 commit comments