A former in-house attorney at cable TV giant Discovery Communications LLC has lost a federal appeal in her claim that she was unjustly fired because of a sleeping disorder.

The U.S. Court of Appeals for the Fourth Circuit threw out a case filed by Victoria Anderson, a former attorney for the program, production and talent division of Discovery Communications. The court found that Anderson, who complained of insomnia, did not suffer an impairment under the Americans with Disabilities Act and was not fired because of it.