Treasury Secretary Janet Yellen said she was not yet seeing an economic impact from the Israel-Gaza war.