mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update main.test.ts
This commit is contained in:
parent
1092e90805
commit
184d104236
@ -37,7 +37,7 @@ describe('main', () => {
|
|||||||
it('should run through the commands', async () => {
|
it('should run through the commands', async () => {
|
||||||
Object.assign(action, {
|
Object.assign(action, {
|
||||||
repositoryPath: 'JamesIves/github-pages-deploy-action',
|
repositoryPath: 'JamesIves/github-pages-deploy-action',
|
||||||
folder: 'assets',
|
folder: '.github/assets',
|
||||||
branch: 'branch',
|
branch: 'branch',
|
||||||
token: '123',
|
token: '123',
|
||||||
hostname: 'github.com',
|
hostname: 'github.com',
|
||||||
@ -58,7 +58,7 @@ describe('main', () => {
|
|||||||
Object.assign(action, {
|
Object.assign(action, {
|
||||||
hostname: 'github.com',
|
hostname: 'github.com',
|
||||||
repositoryPath: 'JamesIves/github-pages-deploy-action',
|
repositoryPath: 'JamesIves/github-pages-deploy-action',
|
||||||
folder: 'assets',
|
folder: '.github/assets',
|
||||||
branch: 'branch',
|
branch: 'branch',
|
||||||
token: '123',
|
token: '123',
|
||||||
sshKey: true,
|
sshKey: true,
|
||||||
@ -77,7 +77,7 @@ describe('main', () => {
|
|||||||
it('should throw if an error is encountered', async () => {
|
it('should throw if an error is encountered', async () => {
|
||||||
Object.assign(action, {
|
Object.assign(action, {
|
||||||
hostname: 'github.com',
|
hostname: 'github.com',
|
||||||
folder: 'assets',
|
folder: '.github/assets',
|
||||||
branch: 'branch',
|
branch: 'branch',
|
||||||
token: null,
|
token: null,
|
||||||
sshKey: null,
|
sshKey: null,
|
||||||
|
Loading…
Reference in New Issue
Block a user