From d3b9bcb7be367908ae5eae262bb9ec30a2914802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Tue, 14 Sep 2021 12:41:04 +0200 Subject: [PATCH] fix: convert feature-schema.test.js to typescript --- .../schema/{feature-schema.test.js => feature-schema.test.ts} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename src/lib/schema/{feature-schema.test.js => feature-schema.test.ts} (98%) diff --git a/src/lib/schema/feature-schema.test.js b/src/lib/schema/feature-schema.test.ts similarity index 98% rename from src/lib/schema/feature-schema.test.js rename to src/lib/schema/feature-schema.test.ts index 74c78d26ae..c5f7eaaf38 100644 --- a/src/lib/schema/feature-schema.test.js +++ b/src/lib/schema/feature-schema.test.ts @@ -1,6 +1,4 @@ -'use strict'; - -const { featureSchema, querySchema } = require('./feature-schema'); +import { featureSchema, querySchema } from './feature-schema'; test('should require URL firendly name', () => { const toggle = {