Kim Kardashian [Courtesy]

Kim Kardashian has revealed she tested positive for Covid-19 but battled on amid the illness to sit a law exam.

Fans of Keeping Up with The Kardashians saw Kim reveal she caught the virus from her son, five-year-old Saint, late last year which meant filming was shut down for two weeks.

The show, which is currently airing its 20th and final season, follows the billionaire businesswoman during her studies for a law exam, a test she previously failed.

“We’re supposed to be doing 12-hour study sessions every day leading up to the test, and I’ve just been feeling so sick and so just awful with Covid that I can hardly even get out of bed and study,” she said, listing symptoms including coughing, exhaustion and fever.

But despite her bout with Covid the 40-year-old decided to take the law test.

Afterwards, she said: “That was the hardest thing I’ve ever, ever had to do. I definitely feel like I knew more this time on the test than last time on the test.

“I feel really confident about that. If I do pass, it’s a miracle, because I had Covid.”

And it appears her latest effort to pass her exam fell short of the mark but she told fans on social media she's 'not giving up' and will re-take it soon.

The new episode of Keeping Up With The Kardashians, in which it's revealed Kim had Covid, added further controversy to her island birthday holiday in October.

The trip to celebrate her 40th with a large group on a private island during the pandemic.

According to BuzzFeed, Kim began experiencing Covid symptoms the week before her exam, which is said to have taken place on 17 November.

Quick to deny the rumours Kim tweeted: “Nobody caught Covid from the trip.

“Saint was the first to have it in our family and he caught it from school from another student who tested positive first.

“I then developed symptoms and got it a few days after he coughed on me while caring for him.”