Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Nov 20, 2023
1 parent b53ad87 commit 68d554f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-cjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- run: pnpm build
- run: pnpm run test:cjs

name: Test
name: Test CommonJS

on:
pull_request: ~
Expand Down
2 changes: 1 addition & 1 deletion src/e2e.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ const { strict: assert } = require('node:assert')

const emoji = require('../lib/index.cjs')

assert.equal(emoji.emojify(':wave:'), 'intentional failure')
assert.equal(emoji.emojify(':wave:'), '👋')
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
coverage: {
all: true,
branches: 100,
exclude: ['lib', 'src/*.d.ts', 'src/index.ts'],
exclude: ['lib', 'src/*.d.ts', 'src/e2e.cjs', 'src/index.ts'],
functions: 100,
include: ['src'],
lines: 100,
Expand Down

0 comments on commit 68d554f

Please sign in to comment.