Procházet zdrojové kódy

remove unnecessary test

Yuki Takei před 2 měsíci
rodič
revize
e27f1a3443
1 změnil soubory, kde provedl 0 přidání a 20 odebrání
  1. 0 20
      apps/app/test/integration/crowi/crowi.test.js

+ 0 - 20
apps/app/test/integration/crowi/crowi.test.js

@@ -1,20 +0,0 @@
-import packageJson from '^/package.json';
-
-const { getInstance } = require('../setup-crowi');
-
-describe('Test for Crowi application context', () => {
-  describe('construction', () => {
-    test('initialize crowi context', async () => {
-      const crowi = await getInstance();
-      expect(crowi.version).toBe(packageJson.version);
-      expect(typeof crowi.env).toBe('object');
-    });
-
-    test('config getter, setter', async () => {
-      const crowi = await getInstance();
-      expect(crowi.getConfig()).toEqual({});
-      crowi.setConfig({ test: 1 });
-      expect(crowi.getConfig()).toEqual({ test: 1 });
-    });
-  });
-});