Files
pinyin-pro/test/toneSandhi.test.js
2024-04-15 14:40:48 +08:00

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ì");
});
});