We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2feb845 commit 9c123a3Copy full SHA for 9c123a3
test/basic.html
@@ -62,11 +62,15 @@
62
setup(function (done) {
63
omnitable = fixture('basic');
64
data = Cosmoz.TableDemoBehavior.generateTableDemoData(10, 11, 25);
65
- omnitable.addEventListener('visible-columns-changed', function () {
66
- Polymer.Base.async(done, 30);
67
- });
68
omnitable.data = data;
69
omnitable.notifyResize();
+ if (omnitable.visibleColumns != null && omnitable.visibleColumns.length) {
+ done();
+ } else {
70
+ omnitable.addEventListener('visible-columns-changed', function () {
71
+ Polymer.Base.async(done, 30);
72
+ });
73
+ }
74
});
75
76
test('it retrieves column by name', function (done) {
0 commit comments