mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
12 lines
323 B
JavaScript
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);
|
|
});
|
|
});
|