Skip to content

Commit

Permalink
it -> test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Jan 3, 2020
1 parent 1278a0c commit 8f10798
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import { keysToCamelCaseShallow } from './case_conversion';

describe('keysToCamelCaseShallow', () => {
it("should convert all of an object's keys to camel case", () => {
test("should convert all of an object's keys to camel case", () => {
const data = {
camelCase: 'camelCase',
'kebab-case': 'kebabCase',
Expand Down
1 change: 1 addition & 0 deletions src/legacy/core_plugins/tile_map/public/css_filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const cssFilters = (function() {
const e = document.createElement('img');
const rules = ['webkitFilter', 'mozFilter', 'msFilter', 'filter'];
const test = 'grayscale(1)';

rules.forEach(function(rule) {
e.style[rule] = test;
});
Expand Down
2 changes: 1 addition & 1 deletion src/legacy/server/status/lib/case_conversion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import { keysToSnakeCaseShallow } from './case_conversion';

describe('keysToSnakeCaseShallow', () => {
it("should convert all of an object's keys to snake case", () => {
test("should convert all of an object's keys to snake case", () => {
const data = {
camelCase: 'camel_case',
'kebab-case': 'kebab_case',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { groupBy } from 'lodash';
import { organizeBy } from './organize_by';

describe('organizeBy', () => {
it('it works', () => {
test('it works', () => {
const col = [
{
name: 'one',
Expand Down Expand Up @@ -52,7 +52,7 @@ describe('organizeBy', () => {
expect(resp.owner.length).toBe(1);
});

it('behaves just like groupBy in normal scenarios', () => {
test('behaves just like groupBy in normal scenarios', () => {
const col = [{ name: 'one' }, { name: 'two' }, { name: 'three' }, { name: 'four' }];

const orgs = organizeBy(col, 'name');
Expand Down

0 comments on commit 8f10798

Please sign in to comment.