mirror of
https://github.com/zh-lx/pinyin-pro.git
synced 2026-03-13 09:51:38 +08:00
11 lines
265 B
JavaScript
11 lines
265 B
JavaScript
import { pinyin } from '../lib/index';
|
|
import { expect, describe, it } from 'vitest';
|
|
|
|
describe("toneSandhi", () => {
|
|
it("[toneSandhi]不", () => {
|
|
const result = pinyin("不是", { toneSandhi: false });
|
|
expect(result).to.be.equal("bù shì");
|
|
});
|
|
|
|
});
|