The clause in the given sentence is an adverbial clause.
This sentence contains a cause-and-effect clause, which explains the reason or cause for why Brianna is eating white chocolate. The clause "because she has got a poor grade in tests" indicates the cause (poor grade) and the effect (eating white chocolate).