Skip to content

Commit

Permalink
style: resolve lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
blephy committed Jul 3, 2022
1 parent 6a144f1 commit c084c10
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions __tests__/index.spec.ts
Original file line number Diff line number Diff line change
@@ -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');
});
});
});
4 changes: 2 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const test: string = 'test';
const TEST: string = 'test';

export { test };
export { TEST };
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -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 };

0 comments on commit c084c10

Please sign in to comment.