The only difference, which is purely visual is the space between Promise and (.
Removing this space allows the test to pass. However, I believe this is more an oversight on the test-case(s) than anything actually wrong with your code.
Its worth noting that adding a space between a class/function and its () is not recommended by most style guides, even though the code itself will function the same.