This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum update -y nss | |
yum install -y https://centos6.iuscommunity.org/ius-release.rpm | |
perl -pi -e "s/enabled\s+=\s+1/enabled = 0/gi" /etc/yum.repos.d/ius.repo | |
yum install -y --enablerepo=ius python36u python36u-libs python36u-pip | |
ln -s /usr/bin/python3.6 /usr/bin/python3 | |
ln -s /usr/bin/pip3.6 /usr/bin/pip3 | |
pip3 install awscli --upgrade --user | |
echo "# PATH for AWS CLI" >> ~/.bashrc | |
echo "export PATH=~/.local/bin:$PATH" >> ~/.bashrc | |
source ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Test, TestingModule } from '@nestjs/testing'; | |
import { PrismaService } from '../prisma.service'; | |
import { JobService } from './job.service'; | |
import * as crypto from 'crypto'; | |
describe('JobService', () => { | |
let service: JobService; | |
let prisma: PrismaService; | |
beforeEach(async () => { |