optional resolver on before/afterEach