Wald test in binary logistic regression

Hei, i want to ask about syntax wald test in binary logistic regression to my study. What the wald test in r follow the distribution chi-square or z-score. Because, when i see in the Summary from model binary logistic regression is showing the value wald test with distribution z-score. But when I run the wald test whit other syntax it show the value with distribution chi-square. So, it makes me very confuse. Please help me about this problem.
Thaks for All help.