Skip to content

Commit

Permalink
add debug option to try to debug deno failure in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Dec 21, 2023
1 parent 4636028 commit 6d4f215
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/schema.select.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ describe('schema select option', function() {

before(function() {
db = start();
mongoose.set('debug', true);
});

after(async function() {
await db.close();
mongoose.set('debug', false);
});

beforeEach(() => db.deleteModel(/.*/));
afterEach(() => require('./util').clearTestData(db));
afterEach(() => require('./util').stopRemainingOps(db));

it.only('excluding paths through schematype', async function() {
it('excluding paths through schematype', async function() {
const schema = new Schema({
thin: Boolean,
name: { type: String, select: false },
Expand Down

0 comments on commit 6d4f215

Please sign in to comment.