👍 Updates app unit test suite
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { humanFileSize } from '../../src/lib/utilities';
|
||||
import { humanFileSize } from '../../src/lib/utilities/string-utilities';
|
||||
|
||||
describe('humanFileSize', () => {
|
||||
it('returns "0B" for 0 bytes', () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { toUint8, toInt8 } from '../../src/lib/utilities';
|
||||
import { toUint8, toInt8 } from '../../src/lib/utilities/math-utilities';
|
||||
|
||||
describe('toUint8', () => {
|
||||
it('min interval value should get 0', () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { Result } from '../../src/lib/utilities';
|
||||
import { Result } from '../../src/lib/utilities/result';
|
||||
|
||||
describe('Result', () => {
|
||||
it('should create a success result correctly', () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { throttler } from '../../src/lib/utilities';
|
||||
import { describe, it, expect, beforeEach, afterEach, test, vitest } from 'vitest';
|
||||
import { describe, it, expect, beforeEach, afterEach, vitest } from 'vitest';
|
||||
import { throttler } from '../../src/lib/utilities/buffer-utilities';
|
||||
|
||||
describe('throttler', () => {
|
||||
let throttleInstance: throttler;
|
||||
|
||||
Reference in New Issue
Block a user