Download the code to your own project or if you want to:
pnpm add inkless/unistyles-mock -DCreate a __mocks__/react-native-unistyles.js in your project root.
// require your theme directly
const theme = require('path/to/theme');
// If you download the code, this is assuming you do support typescript transpile, I didn't transpile to js in this repo
const { createUniStylesMock } = require('path/to/unistyles-mock');
// if you use npm/pnpm/yarn
const { createUniStylesMock } = require('unistyles-mock');
module.exports = createUniStylesMock(theme);