freeCodeCamp/freeCodeCamp

Remove fake clock uninstall test from tic-tac-toe lab

Closed

#67,547 创建于 2026年5月23日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)TypeScript (444,744 star) (44,572 fork)batch import
frontend libraries v9 certhelp wantedlessonscope: curriculum

描述

Description

Now that we have after-all hooks available in our test framework, we can remove the fake/placeholder test that was previously needed to handle clock uninstallation in the tic-tac-toe lab challenge.

This cleanup will make the test suite cleaner and more maintainable, allowing the after-all hook to handle teardown gracefully without needing a workaround test.

Acceptance Criteria

  • Locate and remove the fake test for uninstalling the clock from the tic-tac-toe lab challenge
  • Verify that the after-all hook is properly configured to handle clock cleanup
  • Confirm that all remaining tests still pass without the fake test in place
  • Test the challenge to ensure the lab functions as expected without any console warnings or errors

Context

File: curriculum/challenges/english/blocks/lab-tic-tac-toe/67e3a6b7f60b4085588189e6.md

The fake test was a necessary workaround before after-all hooks were available. With modern hook support now in place, we can remove this technical debt and simplify the test structure.

贡献者指南

Remove fake clock uninstall test from tic-tac-toe lab · freeCodeCamp/freeCodeCamp#67547 | Good First Issue