Skip to content

Commit

Permalink
Use interfaces.unshift
Browse files Browse the repository at this point in the history
  • Loading branch information
RenanSouza2 committed Jan 10, 2024
1 parent 2c3e379 commit 85c645f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/introspection/SupportsInterface.behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const SIGNATURES = {
const INTERFACE_IDS = mapValues(SIGNATURES, interfaceId);

function shouldSupportInterfaces(interfaces = []) {
interfaces = ['ERC165', ...interfaces];
interfaces.unshift('ERC165');

describe('ERC165', function () {
beforeEach(function () {
Expand Down

0 comments on commit 85c645f

Please sign in to comment.