mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 04:21:53 +08:00
Perf: speed up infra
This commit is contained in:
11
Build/lib/stable-sort-domain.test.js
Normal file
11
Build/lib/stable-sort-domain.test.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user