Vincent 8 mesi fa
parent
commit
4962bf2058
1 ha cambiato i file con 11 aggiunte e 11 eliminazioni
  1. 11 11
      tests/units/services/data/normalizer/hydraNormalizer.test.ts

+ 11 - 11
tests/units/services/data/normalizer/hydraNormalizer.test.ts

@@ -134,17 +134,17 @@ describe('getData', () => {
     expect(HydraNormalizer.getData(data)).toEqual(['foo'])
   })
 
- test('With item', () => {
-   const data = {
-     '@context': '/api/contexts/Foo',
-     '@id': '/api/foo',
-     '@type': 'Foo',
-     param1: 'a',
-   }
-
-   // @ts-ignore
-   expect(HydraNormalizer.getData(data)).toEqual(data)
- })
+  test('With item', () => {
+    const data = {
+      '@context': '/api/contexts/Foo',
+      '@id': '/api/foo',
+      '@type': 'Foo',
+      param1: 'a',
+    }
+
+    // @ts-ignore
+    expect(HydraNormalizer.getData(data)).toEqual(data)
+  })
 })
 
 describe('getMetadata', () => {