refactor: Migrate the whole project from cjs to esm #116
Annotations
8 errors
tests/index.test.ts > fanyi CLI > should print translation of the word:
tests/index.test.ts#L35
AssertionError: expected '\n hello \u001b[35m 英[ hə\'ləʊ ] \u00…' to contain 'hello 英[ hə\'ləʊ ] 美[ həˈloʊ ] ~ …'
- Expected
+ Received
- hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com
+
+ hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com
+
+ - int. 哈喽,喂;你好,您好;表示问候;打招呼;
+ - n. “喂”的招呼声或问候声;
+ - vi. 喊“喂”;
+
+ 1. This document contains Hello application components of each document summary of the contents.
+ 此文件包含组成Hello应用程序的每个文件的内容摘要.
+ 2. Hello! Hello! Hello! Hello! Hel - lo!
+ 你好! 你好! 你好! 你好! 你好!
+ 3. Hello! Hello! Hello! Hello ! I'm glad to meet you.
+ 你好! 你好! 你好! 你好! 见到你很高兴.
+ 4. Hello Marie. Hello Berlioz. Hello Toulouse.
+ 你好玛丽, 你好柏里欧, 你好图鲁兹.
+ 5. Hello. Yes, hello, hello. I can not hear a word clearly.
+ 喂, 咦, 喂, 喂. 我一点也听不清.
+
+ -----
+
+ hello /həˈloʊ/ ~ 你好 nǐ hǎo ~ 😊
+
+ - 介词 [用于问候或引起注意]
+ - 名词 [问候语]
+
+ 例句:
+ 1. Hello, how are you?
+ 你好,怎么样?
+
+ 2. Hello, can I help you?
+ 你好,我能帮你吗?
+
+ 3. She said hello to me and then walked away.
+ 她对我说了声“你好”,然后走开了。
+
+ 😊 生活中每一次问候,都可能开启一段新的友谊。
+
❯ tests/index.test.ts:35:20
|
test (20)
Process completed with exit code 1.
|
test (18)
The job was canceled because "_20" failed.
|
tests/index.test.ts > fanyi CLI > should print translation of the word:
tests/index.test.ts#L35
AssertionError: expected '\n hello \u001b[35m 英[ hə\'ləʊ ] \u00…' to contain 'hello 英[ hə\'ləʊ ] 美[ həˈloʊ ] ~ …'
- Expected
+ Received
- hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com
+
+ hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com
+
+ - int. 哈喽,喂;你好,您好;表示问候;打招呼;
+ - n. “喂”的招呼声或问候声;
+ - vi. 喊“喂”;
+
+ 1. This document contains Hello application components of each document summary of the contents.
+ 此文件包含组成Hello应用程序的每个文件的内容摘要.
+ 2. Hello! Hello! Hello! Hello! Hel - lo!
+ 你好! 你好! 你好! 你好! 你好!
+ 3. Hello! Hello! Hello! Hello ! I'm glad to meet you.
+ 你好! 你好! 你好! 你好! 见到你很高兴.
+ 4. Hello Marie. Hello Berlioz. Hello Toulouse.
+ 你好玛丽, 你好柏里欧, 你好图鲁兹.
+ 5. Hello. Yes, hello, hello. I can not hear a word clearly.
+ 喂, 咦, 喂, 喂. 我一点也听不清.
+
+ -----
+
+ hello /həˈloʊ/ ~ 你好 nǐ hǎo ~ 😊
+
+ - 介词 [用于问候或吸引注意]
+ - 名词 [问候语]
+
+ 例句:
+ 1. Hello, how are you?
+ 你好,怎么样?
+
+ 2. Hello, can I help you?
+ 你好,我能帮你吗?
+
+ 3. She said hello to me and then walked away.
+ 她对我说了声“你好”,然后走开了。
+
+ 😊 每天都要对自己说声“你好”。
+
❯ tests/index.test.ts:35:20
|
test (18)
The operation was canceled.
|
test (16)
The job was canceled because "_20" failed.
|
tests/index.test.ts > fanyi CLI > should print translation of the word:
tests/index.test.ts#L35
AssertionError: expected '\n hello \u001b[35m 英[ hə\'ləʊ ] \u00…' to contain 'hello 英[ hə\'ləʊ ] 美[ həˈloʊ ] ~ …'
- Expected
+ Received
- hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com
+
+ hello 英[ hə'ləʊ ] 美[ həˈloʊ ] ~ iciba.com
+
+ - int. 哈喽,喂;你好,您好;表示问候;打招呼;
+ - n. “喂”的招呼声或问候声;
+ - vi. 喊“喂”;
+
+ 1. This document contains Hello application components of each document summary of the contents.
+ 此文件包含组成Hello应用程序的每个文件的内容摘要.
+ 2. Hello! Hello! Hello! Hello! Hel - lo!
+ 你好! 你好! 你好! 你好! 你好!
+ 3. Hello! Hello! Hello! Hello ! I'm glad to meet you.
+ 你好! 你好! 你好! 你好! 见到你很高兴.
+ 4. Hello Marie. Hello Berlioz. Hello Toulouse.
+ 你好玛丽, 你好柏里欧, 你好图鲁兹.
+ 5. Hello. Yes, hello, hello. I can not hear a word clearly.
+ 喂, 咦, 喂, 喂. 我一点也听不清.
+
+ -----
+
+ hello /həˈloʊ/ ~ 你好 nǐ hǎo ~ 😊
+
+ - 互动 ~ 用于问候或打招呼
+ - 感叹 ~ 表示惊讶或惊恐
+
+ 例句:
+ 1. Hello, how are you?
+ 你好,怎么样?
+
+ 2. Hello! I'm so glad to see you!
+ 哦!真高兴见到你!
+
+ 3. "Hello?" she said, answering the phone.
+ “喂?”她接起电话说。
+
+ 😊 生活中每一次问候都是一种美好的开始。
+
❯ tests/index.test.ts:35:20
|
test (16)
The operation was canceled.
|