mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-10-09 08:56:12 +00:00
Merge 1fa29582bb
into 62c96d0c4e
This commit is contained in:
commit
04dc75f294
8 changed files with 84 additions and 78 deletions
|
@ -10,6 +10,7 @@ import {
|
|||
} from '../src/util';
|
||||
|
||||
import { assert, describe, expect, it } from 'vitest';
|
||||
import * as path from 'path';
|
||||
|
||||
describe('util', () => {
|
||||
describe('uploadUrl', () => {
|
||||
|
@ -385,7 +386,7 @@ describe('util', () => {
|
|||
describe('paths', () => {
|
||||
it('resolves files given a set of paths', async () => {
|
||||
assert.deepStrictEqual(paths(['tests/data/**/*', 'tests/data/does/not/exist/*']), [
|
||||
'tests/data/foo/bar.txt',
|
||||
path.join('tests', 'data', 'foo', 'bar.txt'),
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue