Rename TSInjex to TSinjex and Add Jest Setup in README
Renamed all instances of 'TSInjex' to 'TSinjex' for consistency across the codebase, including interfaces, classes, and test files. Updated the version in `package.json` from 0.0.5 to 0.0.6. Added Jest setup example to the `README.md` to guide developers on initial configuration for testing.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { test_IDIContainer } from './IDIContainer.spec';
|
||||
import { TSInjex } from '../TSInjex';
|
||||
import { TSinjex } from '../TSinjex';
|
||||
|
||||
test_IDIContainer(TSInjex);
|
||||
test_IDIContainer(TSinjex);
|
||||
|
@@ -1,13 +1,13 @@
|
||||
import { ITSInjex_, ITSInjex } from '../interfaces/ITSInjex';
|
||||
import { ITSinjex_, ITSinjex } from '../interfaces/ITSinjex';
|
||||
|
||||
/**
|
||||
* Test the implementation of a DIContainer
|
||||
* @param Container The DIContainer implementation to test.
|
||||
* Must implement {@link ITSInjex}, {@link ITSInjex_}
|
||||
* Must implement {@link ITSinjex}, {@link ITSinjex_}
|
||||
*/
|
||||
export function test_IDIContainer(Container: ITSInjex_): void {
|
||||
export function test_IDIContainer(Container: ITSinjex_): void {
|
||||
describe('IDIContainer Implementation Tests', () => {
|
||||
let container: ITSInjex;
|
||||
let container: ITSinjex;
|
||||
|
||||
beforeEach(() => {
|
||||
container = Container.getInstance();
|
||||
|
Reference in New Issue
Block a user