Depends on state law. Most states have a joint tenancy law for married individuals. So the account would just become your spouse’s upon your death, but not get the step up in basis. That typically only happens for kids. Consult with a local estate planning attorney.
Or you can Google “inheritance laws in [your state]“