Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Test still fails for some reason...
  • Loading branch information
aedart committed Feb 6, 2024
1 parent a73de7a commit c552034
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/browser/packages/support/mixins/mix.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@ describe('@aedart/support/mixins', () => {
.toEqual(valueC);
});

// TODO: Fails... for now..
// TODO: Incomplete...
xit('can determine if instance of mixin', () => {

const value = 123;

const MyMixin = (superclass) => class extends superclass {};

@mix(MyMixin)
Expand All @@ -109,6 +107,8 @@ describe('@aedart/support/mixins', () => {

const instance = new A();

console.log('(a) instance of MyMixin', instance instanceof MyMixin);

expect(instance instanceof MyMixin)
.withContext('class SHOULD be instance of mixin')
.toBeTrue();
Expand Down

0 comments on commit c552034

Please sign in to comment.