Error in Quat.rotationTo calculation?

private TestThis(){
        let v = new Vec3(0, 0, 0);
        let d = new Vec3(0, 1, 0);

        let q = Quat.rotationTo(new Quat(), v, d);
        let angle = Quat.angle(Quat.IDENTITY, q);
        console.log(`angle: ${toDegree(angle)}`);

I have this simple function. If you run it
q is debug to (0, 0, 0, 1)
and total angle is 0
Which is not what i expect. I expect this to be around 90. Which means an object from origin point will rotate 90 degree upward to vector (0, 1, 0)
Please help me if i understand this wrong.