Can’t get .then to happen after promised timeout is finished in JavaScript [duplicate]

Hey, i am trying to return this console after 1000 milli sec using this promise, but for some reason it consoles before ending the setTime out. Any idea how I can get the console.log to happen after the timeOutPromise is finished?

const timeOutPromise = () => new Promise(resolve => { setTimeout(() => { resolve(); }, 1000); });

const thisPromise = (num1, num2) => new Promise((resolve, reject) => {
  timeOutPromise()
    .then(resolve(console.log(num1 + num2)))
    .catch(reject(Error));
});

thisPromise(1, 2);