Surge_by_SukkaW/Build/lib/stable-sort-domain.test.js
2023-09-13 17:28:34 +08:00

12 lines
323 B
JavaScript

const domainSorter = require('./stable-sort-domain');
const chai = require('chai');
const { describe, it } = require('mocha');
chai.should();
describe('stable-sort-domain', () => {
it('.ks.cn, .tag.unclaimedproperty.ks.gov', () => {
domainSorter('.ks.cn', '.tag.unclaimedproperty.ks.gov').should.eql(-1);
});
});