Skip to content

Commit

Permalink
feat: move metadata constant to constants file
Browse files Browse the repository at this point in the history
  • Loading branch information
clauBv23 committed Apr 11, 2024
1 parent d0eb4be commit bbed2e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/subgraph/tests/plugin/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
START_DATE,
END_DATE,
ALLOW_FAILURE_MAP,
METADATA,
} from '../utils/constants';
import {
createNewMembersAddedEvent,
Expand Down Expand Up @@ -73,8 +74,6 @@ const proposalEntityId = generateProposalEntityId(
pluginProposalId
);

export const METADATA = 'Some String Data ...';

describe('Plugin', () => {
beforeEach(function () {
let context = new DataSourceContext();
Expand Down
2 changes: 2 additions & 0 deletions packages/subgraph/tests/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ export const END_DATE = '1644852000';
export const CREATED_AT = ONE;
export const SNAPSHOT_BLOCK = '100';
export const ALLOW_FAILURE_MAP = '1';

export const METADATA = 'Some String Data ...';

0 comments on commit bbed2e5

Please sign in to comment.