At the Arduino end, connect the extruder wire to the x axis wire then send a command to move the x axis.
Does the motor work then?
If it does, you probably have a bad driver.
If it doesn't recheck wiring.
You can do the opposite while you're at it. Connect the x axis motor to the extruder...