fix(slider): fixed issue in the spec file from the previous commit