Skip to content
Snippets Groups Projects
Commit bb93fe15 authored by Marcos Pieras's avatar Marcos Pieras
Browse files

test: update to vitest

parent 577604e8
No related branches found
No related tags found
4 merge requests!42test: adds return message to handle e2e tests,!40test: adds test on populate template,!37chore: adds precommit and commitlint,!35test: adds tests on statcheck and diffcheck
Pipeline #146819 passed
import { expect, test, describe, it } from 'bun:test';
import { expect, test, describe, it } from 'vitest';
import type { GraphQueryResultMetaFromBackend } from 'ts-common';
import { hashDictionary, hashIsEqual } from '../../utils/hashing';
import { compareHashedQueryResults } from './../../readers/diffCheck';
import { Logger } from 'ts-common';
Logger.excludedOwners.push('ts-common');
Logger.excludedOwners.push('query-service');
describe('Hash Comparison Tests', () => {
it('should detect different hashes for different graph structures', () => {
......
import { expect, test, describe, it } from 'bun:test';
import { expect, test, describe, it } from 'vitest';
import type { GraphQueryResultMetaFromBackend, InsightModel } from 'ts-common';
import { processAlarmStats } from './../../readers/statCheck';
import { Logger } from 'ts-common';
Logger.excludedOwners.push('ts-common');
Logger.excludedOwners.push('query-service');
const baseInsight: Omit<InsightModel, 'conditionsCheck'> = {
id: 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment