Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ac10n committed Nov 24, 2022
1 parent 7acaccb commit ad97174
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,4 @@ taqueria-plugin-metadata/index.js.map

# Temp taq projects created from e2e test execution
tests/e2e/auto-test-*
tests/scrap
tests/scrap
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-cli-permissions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import util from 'util';
import { generateTestProject } from './utils/utils';
const exec = util.promisify(exec1);

const taqueriaProjectPath = './scrap/auto-test-cli-permissions';
const taqueriaProjectPath = 'scrap/auto-test-cli-permissions';
let username = os.userInfo().username;
let userGroup: string;

Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-cli-scaffolding-functional.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fsPromises from 'fs/promises';
import util from 'util';
const exec = util.promisify(exec1);

const scaffoldDirName = `./scrap/auto-test-taco-shop-functional`;
const scaffoldDirName = `scrap/auto-test-taco-shop-functional`;

describe('E2E Testing for taqueria scaffolding initialization,', () => {
beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-plugin-archetype.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { checkFolderExistsWithTimeout, generateTestProject } from './utils/utils
const exec = utils.promisify(exec1);
import * as contents from './data/help-contents/archetype-contents';

const taqueriaProjectPath = './scrap/auto-test-archetype-plugin';
const taqueriaProjectPath = 'scrap/auto-test-archetype-plugin';

describe('E2E Testing for taqueria archetype plugin', () => {
beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-plugin-flextesa.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
const exec = util.promisify(exec1);
import * as flexContents from './data/help-contents/flextesa-contents';

const taqueriaProjectPath = './scrap/auto-test-flextesa-plugin';
const taqueriaProjectPath = 'scrap/auto-test-flextesa-plugin';
let sandboxName: string;

// List of child processes that will need to be cleanup after test case finishes
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-plugin-ipfs-pinata.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { generateTestProject } from './utils/utils';
const exec = util.promisify(exec1);
import * as contents from './data/help-contents/pinata-contents';

const taqueriaProjectPath = './scrap/auto-test-ipfs-pinata-plugin';
const taqueriaProjectPath = 'scrap/auto-test-ipfs-pinata-plugin';

// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// IF RUNNING LOCALLY MAKE SURE YOU ADD A .env FILE WITH YOUR PINATA JWT
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-plugin-jest.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as contents from './data/help-contents/jest-contents';
import { reference } from './data/jest.config-reference';
import { referenceCI } from './data/jest.config-reference-ci';

const taqueriaProjectPath = './scrap/auto-test-jest-plugin';
const taqueriaProjectPath = 'scrap/auto-test-jest-plugin';

// Jest currently outputs to stderr by default and an open issue exists for it here:
// https://github.com/facebook/jest/issues/11925. Once that is fixed we can update these tests
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-plugin-ligo.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as contents from './data/help-contents/ligo-contents';
import { checkFolderExistsWithTimeout, generateTestProject } from './utils/utils';
const exec = util.promisify(exec1);

const taqueriaProjectPath = './scrap/auto-test-ligo-plugin';
const taqueriaProjectPath = 'scrap/auto-test-ligo-plugin';

describe('E2E Testing for taqueria ligo plugin', () => {
beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-plugin-metadata.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import util from 'util';
import { generateTestProject } from './utils/utils';
const exec = util.promisify(execRaw);

const taqueriaProjectPath = './scrap/auto-test-metadata-plugin';
const taqueriaProjectPath = 'scrap/auto-test-metadata-plugin';

describe('E2E Testing for the taqueria metadata plugin', () => {
beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/taqueria-plugin-multiple-test-plugins.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as contents from './data/help-contents/ligo-contents';
import { checkFolderExistsWithTimeout, generateTestProject } from './utils/utils';
const exec = util.promisify(exec1);

const taqueriaProjectPath = './scrap/auto-test-multi-test-plugins';
const taqueriaProjectPath = 'scrap/auto-test-multi-test-plugins';

describe('E2E Testing for taqueria ligo plugin', () => {
beforeAll(async () => {
Expand Down
6 changes: 3 additions & 3 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"scripts": {
"test:unit": "./bin/beforeAllTests.sh && npm run test:unit:deno && npm run test:unit:jest",
"test:unit:deno": "./bin/beforeAllTests.sh && TEST=true deno test unit/ --allow-all --unstable --import-map ../import_map.json",
"test:unit:jest": "./bin/beforeAllTests.sh && TEST=true jest --config jest.config.unit.ts --no-cache --detectOpenHandles --detectLeaks",
"test:unit:jest": "./bin/beforeAllTests.sh && TEST=true jest --config jest.config.unit.ts --no-cache",
"test:unit:deno:debug": "./bin/beforeAllTests.sh && TEST=true deno test unit/ --allow-all --unstable --inspect-brk",
"test:unit:deno:with-coverage": "./bin/beforeAllTests.sh && TEST=true deno test unit/ --allow-all --unstable --coverage=coverage_report && deno coverage coverage_report && deno coverage coverage_report --lcov > coverage_profile.lcov",
"test:unit:selected": "./bin/beforeAllTests.sh && TEST=true deno test unit/taqueria-utils/taqueria-utils.test.ts --allow-all --unstable --coverage=coverage_report && deno coverage coverage_report",
"test:integration": "./bin/beforeAllTests.sh && TEST=true jest --config jest.config.integration.ts --no-cache --detectOpenHandles --detectLeaks",
"test:e2e": "./bin/beforeAllTests.sh && TEST=true jest --config jest.config.e2e.ts --detectOpenHandles --detectLeaks"
"test:integration": "./bin/beforeAllTests.sh && TEST=true jest --config jest.config.integration.ts --no-cache",
"test:e2e": "./bin/beforeAllTests.sh && TEST=true jest --config jest.config.e2e.ts"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit ad97174

Please sign in to comment.