diff --git a/__tests__/index.spec.ts b/__tests__/index.spec.ts index 793a18d..fa797c4 100644 --- a/__tests__/index.spec.ts +++ b/__tests__/index.spec.ts @@ -1,11 +1,11 @@ -import { testTest } from '../src/index.js'; +import { TEST_TEST } from '../src/index.js'; describe('simple rxstate', (): void => { describe('test constant', (): void => { it('should have value', (): void => { expect.assertions(1); - expect(testTest).toBe('hellotest'); + expect(TEST_TEST).toBe('hellotest'); }); }); }); diff --git a/src/constants.ts b/src/constants.ts index 3fc81c0..ba5eaf6 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,3 +1,3 @@ -const test: string = 'test'; +const TEST: string = 'test'; -export { test }; +export { TEST }; diff --git a/src/index.ts b/src/index.ts index aec0d80..05e88ef 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ -import { test } from './constants.js'; +import { TEST } from './constants.js'; -const testTest: string = `hello${test}`; +const TEST_TEST: string = `hello${TEST}`; -export { testTest }; +export { TEST_TEST };