stable-sort-domain.test.js 323 B

1234567891011
  1. const domainSorter = require('./stable-sort-domain');
  2. const chai = require('chai');
  3. const { describe, it } = require('mocha');
  4. chai.should();
  5. describe('stable-sort-domain', () => {
  6. it('.ks.cn, .tag.unclaimedproperty.ks.gov', () => {
  7. domainSorter('.ks.cn', '.tag.unclaimedproperty.ks.gov').should.eql(-1);
  8. });
  9. });