hunk.code_window:   -- filter only x-hasura claims
     let claimsMap = Map.filterWithKey (\k _ -> T.isPrefixOf "x-hasura-" k) $
           claims ^. unregisteredClaims
     HasuraClaims allowedRoles defaultRole <- parseHasuraClaims claimsMap
     let role = getCurrentRole defaultRole
  
hunk.labels: keep replace replace keep keep keep
hunk.after_edit:   let claimsMap = Map.filterWithKey (\k _ -> T.isPrefixOf "x-hasura-" k) hasuraClaims
  
hunk.file_path: server/src-lib/Hasura/Server/Auth/JWT.hs
hunk.type: replace
file: import { setMetaData } from './validators/validators';
  
  import { runMigrationModeTests } from './data/migration-mode/test';
  import { runCreateTableTests } from './data/create-table/test';
  import { runInsertBrowseTests } from './data/insert-browse/test';
  import { runModifyTableTests } from './data/modify/test';
  import { runPermissionsTests } from './data/permissions/test';
  import { runRelationshipsTests } from './data/relationships/test';
  import { runViewsTest } from './data/views/test';
  import { runRawSQLTests } from './data/raw-sql/test';
  import { run404Test } from './data/404/test';
  
  import { runCreateTriggerTests } from './events/create-trigger/test';
  
  import { runApiExplorerTests } from './api-explorer/graphql/test';
  
  const setup = () => {
    it('Visit the index route', () => {
      // Wait for the server to start
      cy.wait(60000);
      // Visit the index route
      cy.visit('/data/schema/public');
      cy.wait(7000);
      // Get and set validation metadata
      setMetaData();
    });
  };
  
  describe('Setup route', setup);
  
  runMigrationModeTests();
  
  runCreateTriggerTests();
  
  runCreateTableTests();
  
  runInsertBrowseTests();
  
  runModifyTableTests();
  
  runRelationshipsTests();
  
  runPermissionsTests();
  
  runViewsTest();
  
  runRawSQLTests();
  
  runApiExplorerTests();
  
  run404Test();
  