you are exporting correctly but importing incorrectly your import should look like this
import { testme, testtoo } from './constants';
but I would use a different approach and instead create a hash constant (in the constants.js file)
export default { TEST1: '1', TEST2: '2' };
then import e.g.
import CONSTANTS from 'constants'
CONSTANTS.TEST1 === '1'
source
share