Asper Header  1.0.14
The header injector extension
Loading...
Searching...
No Matches
messageProvider.test.ts File Reference

Comprehensive test suite for MessageProvider with message template validation. More...

Go to the source code of this file.

Variables

import *as assert from assert
 
 import { getMessage } from '../modules/messageProvider'
 

Detailed Description

Comprehensive test suite for MessageProvider with message template validation.

Author
Henry Letellier
Version
1.0.10
Since
1.0.4
Date
2025

This module provides extensive testing coverage for the MessageProvider module, validating message template functionality, parameter substitution, and integration with the AsperHeader extension's messaging system.

Test Coverage:

  • Message template validation and retrieval
  • Parameter substitution in message templates
  • Message reference integrity and completeness
  • Error handling for missing or malformed messages
  • Type safety for message parameters

Definition in file messageProvider.test.ts.

Variable Documentation

◆ assert

import* as assert from assert

Definition at line 21 of file messageProvider.test.ts.

◆ import

import { getMessage } from '../modules/messageProvider'

Definition at line 22 of file messageProvider.test.ts.