Moved from NJ to PA mid-year. Job was in NJ all year. How do I make sure I'm not being double-taxed?

The reciprocity agreement seems to suggest I just need to file taxes in one state, but because I was a part-time resident of PA, I am confused as to who gets how much tax.