Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgamero authored Nov 6, 2024
1 parent 1a3d520 commit 81cb1fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities/fileUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as fileUtils from './fileUtils'
import * as yaml from 'js-yaml'
import fs from 'node:fs'
import * as path from 'path'
import { K8sObject } from '../types/k8sObject'
import {K8sObject} from '../types/k8sObject'

const sampleYamlUrl =
'https://raw.githubusercontent.com/kubernetes/website/main/content/en/examples/controllers/nginx-deployment.yaml'
Expand Down Expand Up @@ -107,7 +107,7 @@ describe('File utils', () => {

describe('moving files to temp', () => {
it('correctly moves the contents of a file to the temporary directory', () => {
jest.spyOn(fs, 'writeFileSync').mockImplementation(() => { })
jest.spyOn(fs, 'writeFileSync').mockImplementation(() => {})
jest.spyOn(fs, 'readFileSync').mockImplementation((filename) => {
return 'test contents'
})
Expand Down

0 comments on commit 81cb1fd

Please sign in to comment.