Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Dec 24, 2024
1 parent 9a210bd commit 455d063
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/framework/components/animation/component.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,11 @@ describe('AnimationComponent', function () {

it('async assets, clone of animation component loads animations', function (done) {
const entity = new Entity();
let clone;

loadAssets(function () {
// is currAnim public API?
expect(entity.animation.currAnim).to.equal(assets.animation.name);
expect(clone.animation.currAnim).to.equal(assets.animation.name);
expect(clone.animation.currAnim).to.equal(assets.animation.name); // eslint-disable-line no-use-before-define

done();
});
Expand All @@ -155,7 +154,7 @@ describe('AnimationComponent', function () {

app.root.addChild(entity);

clone = entity.clone();
const clone = entity.clone();
app.root.addChild(clone);
});

Expand Down

0 comments on commit 455d063

Please sign in to comment.