Update main.test.ts

This commit is contained in:
James Ives 2021-05-06 00:00:42 -04:00
parent 1092e90805
commit 184d104236

View File

@ -37,7 +37,7 @@ describe('main', () => {
it('should run through the commands', async () => {
Object.assign(action, {
repositoryPath: 'JamesIves/github-pages-deploy-action',
folder: 'assets',
folder: '.github/assets',
branch: 'branch',
token: '123',
hostname: 'github.com',
@ -58,7 +58,7 @@ describe('main', () => {
Object.assign(action, {
hostname: 'github.com',
repositoryPath: 'JamesIves/github-pages-deploy-action',
folder: 'assets',
folder: '.github/assets',
branch: 'branch',
token: '123',
sshKey: true,
@ -77,7 +77,7 @@ describe('main', () => {
it('should throw if an error is encountered', async () => {
Object.assign(action, {
hostname: 'github.com',
folder: 'assets',
folder: '.github/assets',
branch: 'branch',
token: null,
sshKey: null,