Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 0 additions & 54 deletions apps/stats/src/hooks/use-feature-flag.tsx

This file was deleted.

52 changes: 0 additions & 52 deletions apps/stats/src/hooks/with-feature-flag.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions apps/stats/src/routes.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import {RouteObject, lazyComponent} from '@tryghost/admin-x-framework';
// import {withFeatureFlag} from './hooks/withFeatureFlag';

export const APP_ROUTE_PREFIX = '/';

// Wrap all components with feature flag protection
// e.g.
// const ProtectedOverview = withFeatureFlag(Overview, 'trafficAnalyticsAlpha', '/', 'Overview');

export const routes: RouteObject[] = [
{
path: 'analytics',
Expand Down
100 changes: 0 additions & 100 deletions apps/stats/test/unit/hooks/use-feature-flag.test.tsx

This file was deleted.

113 changes: 0 additions & 113 deletions apps/stats/test/unit/hooks/with-feature-flag.test.tsx

This file was deleted.

1 change: 0 additions & 1 deletion ghost/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@
"postcss": "8.5.6",
"postcss-cli": "11.0.1",
"rewire": "8.0.0",
"should": "13.2.3",
"sinon": "18.0.1",
"supertest": "6.3.4",
"tmp": "0.2.5",
Expand Down
1 change: 0 additions & 1 deletion ghost/core/test/e2e-api/admin/actions.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const assert = require('node:assert/strict');
const should = require('should');
const sinon = require('sinon');
const supertest = require('supertest');
const testUtils = require('../../utils');
Expand Down
1 change: 0 additions & 1 deletion ghost/core/test/e2e-api/admin/comments.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const assert = require('node:assert/strict');
require('should');
const ObjectId = require('bson-objectid').default;
const {
agentProvider,
Expand Down
1 change: 0 additions & 1 deletion ghost/core/test/e2e-api/admin/files.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const assert = require('node:assert/strict');
const path = require('path');
const fs = require('fs-extra');
const should = require('should');
const supertest = require('supertest');
const localUtils = require('./utils');
const config = require('../../../core/shared/config');
Expand Down
1 change: 0 additions & 1 deletion ghost/core/test/e2e-api/admin/integrations.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const assert = require('node:assert/strict');
const {assertExists} = require('../../utils/assertions');
const _ = require('lodash');
const should = require('should');
const supertest = require('supertest');
const config = require('../../../core/shared/config');
const testUtils = require('../../utils');
Expand Down
1 change: 0 additions & 1 deletion ghost/core/test/e2e-api/admin/invites.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const assert = require('node:assert/strict');
const {assertExists} = require('../../utils/assertions');
const should = require('should');
const supertest = require('supertest');
const sinon = require('sinon');
const testUtils = require('../../utils');
Expand Down
1 change: 0 additions & 1 deletion ghost/core/test/e2e-api/admin/key-authentication.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const assert = require('node:assert/strict');
const {assertExists} = require('../../utils/assertions');
const should = require('should');
const supertest = require('supertest');
const testUtils = require('../../utils');
const config = require('../../../core/shared/config');
Expand Down
1 change: 0 additions & 1 deletion ghost/core/test/e2e-api/admin/max-limit-cap.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const assert = require('node:assert/strict');
const {agentProvider, fixtureManager} = require('../../utils/e2e-framework');
const should = require('should');
const sinon = require('sinon');
const db = require('../../../core/server/data/db');
const ObjectId = require('bson-objectid').default;
Expand Down
Loading
Loading