We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd2e048 commit baa9979Copy full SHA for baa9979
src/bmssp.mjs
@@ -2,4 +2,9 @@ function printMessage(message) {
2
return message;
3
}
4
5
-export { printMessage };
+function processMessage(message) {
6
+ // Process the message here
7
+ return `Processed: ${message}`;
8
+}
9
+
10
+export { printMessage, processMessage };
test/main.test.js
@@ -7,3 +7,10 @@ describe("printMessage", () => {
expect(printMessage(testValue)).toBe(testValue);
});
11
+describe("processMessage", () => {
12
+ test("processes a message and returns the processed result", () => {
13
+ let testValue = "Hello, bmssp!! Testing..";
14
+ expect(processMessage(testValue)).toBe(`Processed: ${testValue}`);
15
+ });
16
+});
0 commit comments