- sort.getSortHeaders().then((headers) => {
- headers[0].click().then((_) => {
- headers[0].getSortDirection().then((direction) => {
- expect(direction).toBe("");
- });
- });
- headers[0].click().then((_) => {
- headers[0].getSortDirection().then((direction) => {
- expect(direction).toBe("asc");
- });
+ tick(10);
+ value.getSortHeaders().then((headers) => {
+ headers[0].click();
+ tick(10);
+ headers[0].getSortDirection().then((direction) => {
+ expect(direction).toBe("asc");