Will it spark directly from the plug lead to ground, when you pull the starter with no spark plug installed in the engine? If it has an insulated terminal on the end of the plug lead, you will need to push a piece of metal rod into the terminal, and place the other end of it close (say, 1 mm) to the cylinder head. Do not touch the metal rod when you do the test, it is likely to be uncomfortable. It will hurt you with a much lower voltage than is required to generate a spark.

The most common time for electrical components to fail is in their first few hours of operation from new. (Known in industry as "infant mortality".)