Skip to content

Commit

Permalink
Need to wait until render to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jun 11, 2016
1 parent e4880d9 commit 92293f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/unit/custom-style-async.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@

test('async loaded custom-style applies', function(done) {
host.importHref('custom-style-async-import.html', function() {
assertComputed(host.$.client, '8px');
done();
Polymer.RenderStatus.afterNextRender(host.$.client, function() {
assertComputed(host.$.client, '8px');
done();
});
});
});

Expand Down

0 comments on commit 92293f9

Please sign in to comment.