Skip to content

Conversation

@parth-117
Copy link
Contributor

Summary

This PR fixes a bug in MeteringService.test.ts where the it function from vitest was being used without being imported.

Problem

The test file was using it('should have some services', ...) on line 6, but the import statement on line 1 only imported { describe, expect } from vitest, causing a ReferenceError: it is not defined when running tests.

Solution

Added it to the import statement:

import { describe, expect, it } from 'vitest';

This is a simple one-line fix that resolves the test failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant