Once they agree to hire you, and if the company has drug tests (not all do), your employment is contingent upon passing. They aren't going to spend money on drug tests for interviewees - just those that are hired. Certain industries give drug tests to long-term employees as well.

Some companies used to give lie detector tests to new employees as well, but it is now illegal in New York.