Browse Source

remove a empty test

pull/4336/head
陈帅 7 years ago
parent
commit
ea52e5db15
  1. 3
      src/utils/authority.test.ts

3
src/utils/authority.test.ts

@ -1,9 +1,6 @@
import { getAuthority } from './authority';
describe('getAuthority should be strong', () => {
it('empty', () => {
expect(getAuthority(null as any)).toEqual(null); // default value
});
it('string', () => {
expect(getAuthority('admin')).toEqual(['admin']);
});

Loading…
Cancel
Save