Montana’s House gave final passage Friday to a bill banning the social media app TikTok from operating in the state, a move that’s bound to face legal challenges but also serve as a testing ground for the TikTok-free America many national lawmakers envision due to concerns over potential Chinese spying. The House voted 54-43 in favor of the measure, which would make Montana the first state with a total ban on the app. It goes further than prohibitions already put in place by nearly half the states — including Montana — and the U.S. federal government that prohibit TikTok on...